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.

Archive /

Our old forums are still available as a read-only archive.

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

forum submission topic error


Go to End


2 Posts   2355 Views

Avatar
itlinux

Community Member, 40 Posts

28 November 2008 at 8:25am

I just got the svn forum and update it. Looks pretty good execpt that when I try to add a new topic I get this error....

Fatal error: Call to a member function securityTokenEnabled() on a non-object in /home/httpd/vhosts/controlmanager5.com/silverstripe-v2.2.3/sapphire/core/control/Controller.php on line 217

Any suggestions?

Avatar
itlinux

Community Member, 40 Posts

28 November 2008 at 10:51am

user_error(Object::__call() Method 'setDisabled' not found in class 'CheckboxField',256)
line 199 of Object.php

Object->__call(setDisabled,Array)

CheckboxField->setDisabled(1)
line 8 of CheckableOption.php

CheckableOption->__construct(UnnecessaryNicknamePublic,TextField,1,1)
line 130 of ForumRole.php

ForumRole->getForumFields(1,)

call_user_func_array(Array,Array)
line 177 of Object.php

Object->__call(getForumFields,Array)

Member->getForumFields(1,)
line 118 of ForumMemberProfile.php

ForumMemberProfile->RegistrationForm()
line 100 of ForumMemberProfile.php

ForumMemberProfile->register(Array)
line 261 of Controller.php

Controller->run(Array)
line 104 of Director.php

Director::direct(ForumMemberProfile/register)
line 158 of main.php
Context
Debug (Debug::showError() in line 180 of Debug.php)

* this = CheckboxField (UnnecessaryNicknamePublic: : ) = 1
* methodName =

setDisabled

* args =
o 0 =

1

* lowerMethodName =

setdisabled