Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Frontend for UserForms module not work


2 Posts   1038 Views


12 February 2009 at 11:50pm (Last edited: 12 February 2009 11:51pm), Community Member, 2 Posts


I have just installed the UserForms module, it works absolutely fine in the administration however when trying to view the page on the frontend I get the following error:

[User Error] Object::__call() Method 'Fields' not found in class 'UserDefinedForm_Controller'

I have traced this to userforms/code/UserDefinedForm.php line 272:

foreach( $this->Fields() as $field ) {
         $fields->push( $field->getFormField() );
         if( $field->Required )
            $required[] = $field->Name;

Anyone know what would be causing this? Did I miss something? I haven't modified the module in anyway. Searched alot but I can't seem to find this problem mentioned anywhere else.

The site is running Silverstripe 2.3 RC3

Thanks in advance



19 February 2009 at 9:26pm Community Member, 2 Posts

Found out this was due to modified core code.