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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

memberprofiles - the method '$method' does not exist on '$class'", 2175)


Go to End


3 Posts   1819 Views

Avatar
Christy

Community Member, 68 Posts

27 September 2013 at 10:21am

Edited: 27/09/2013 11:36am

This error occurs during registration when approval required and confirmation email are selected. Has anyone experienced this error or is it a fault with my installation. SS3.1. Thanks. PS Fault appears to be intermittent.

[User Error] Uncaught Exception: Object->__call(): the method 'datafieldbyname' does not exist on 'Form'

741 default :
742 throw new Exception (
743 "Object->__call(): extra method $method is invalid on $this->class:"
744 . var_export($config, true)
745 );
746 }
747 } else {
748 // Please do not change the exception code number below.
749 $class = get_class($this);
750 throw new Exception("Object->__call(): the method '$method' does not exist on '$class'", 2175);
751 }
752 }

Avatar
Christy

Community Member, 68 Posts

18 October 2013 at 2:24pm

I seem to get an error like this when I attempt to use an email address that is already used. SS3.1

Avatar
Martin D.

Community Member, 21 Posts

31 October 2013 at 7:55am

Try

$form->Fields()->dataFieldByName()