Hi,
I've built my (first) website in Silverstripe and everything is working fine and I've now got to the final stage of setting up the Security of the site, i.e. Groups and permissions. However, when i now login in as a user who is in the group 'Content Author', when I try clicking on the 'Pages' tab I get the error message: Website Error There has been an error.
I put the ?isDev=1 on the page causing the problem and below is the message I'm getting.
Many thanks in advance and i'll be happy to provide more info if needed.
Cheers
715
716 default :
717 throw new Exception (
718 "Object->__call(): extra method $method is invalid on $this->class:" . var_export($config, true)
719 );
720 }
721 } else {
722 // Please do not change the exception code number below.
723
724 throw new Exception("Object->__call(): the method '$method' does not exist on '$this->class'", 2175);
725 }
726 }
727
728 // -----------------------------------------------------------------------------------------------------------------
729
730 /**
Trace
Object->__call(performReadonlyTransformation,Array)
FieldSet->performReadonlyTransformation()
Line 322 of EditableFormField.php
EditableFormField->getFieldValidationOptions()
Line 112 of ViewableData.php
ViewableData->__get(FieldValidationOptions)
Line 371 of ViewableData.php
ViewableData->obj(FieldValidationOptions,,,1,)
Line 411 of ViewableData.php
ViewableData->cachedCall(FieldValidationOptions,)
Line 424 of ViewableData.php
ViewableData->hasValue(FieldValidationOptions,,1)
Line 3502 of DataObject.php
DataObject->hasValue(FieldValidationOptions)
Line 265 of .cache.Applications.MAMP.htdocs.norbake.userforms.templates.EditableFormField.ss
include(/private/var/folders/59/592GnU-hFvOTlhBg3xBN5++++TQ/-Tmp-/silverstripe-cache-Applications-MAMP-htdocs-norbake/.cache.Applications.MAMP.htdocs.norbake.userforms.templates.EditableFormField.ss)
Line 392 of SSViewer.php
SSViewer->process(EditableTextField)
Line 342 of ViewableData.php
ViewableData->renderWith(EditableFormField)
Line 59 of EditableFormField.php
EditableFormField->EditSegment()
Line 369 of ViewableData.php
ViewableData->obj(EditSegment,,,1)
Line 445 of ViewableData.php
ViewableData->XML_val(EditSegment,,1)
Line 22 of .cache.Applications.MAMP.htdocs.norbake.userforms.templates.FieldEditor.ss
include(/private/var/folders/59/592GnU-hFvOTlhBg3xBN5++++TQ/-Tmp-/silverstripe-cache-Applications-MAMP-htdocs-norbake/.cache.Applications.MAMP.htdocs.norbake.userforms.templates.FieldEditor.ss)
Line 392 of SSViewer.php
SSViewer->process(ViewableData_Customised)
Line 342 of ViewableData.php
ViewableData->renderWith(FieldEditor)
Line 13 of FieldEditor.php
FieldEditor->FieldHolder()
Line 369 of ViewableData.php
ViewableData->obj(FieldHolder,,,1,)
Line 826 of ViewableData.php
ViewableData_Customised->obj(FieldHolder,,,1)
Line 445 of ViewableData.php
ViewableData->XML_val(FieldHolder,,1)
Line 73 of .cache.Applications.MAMP.htdocs.norbake.sapphire.templates.TabSetFieldHolder.ss
include(/private/var/folders/59/592GnU-hFvOTlhBg3xBN5++++TQ/-Tmp-/silverstripe-cache-Applications-MAMP-htdocs-norbake/.cache.Applications.MAMP.htdocs.norbake.sapphire.templates.TabSetFieldHolder.ss)
Line 392 of SSViewer.php
SSViewer->process(TabSet)
Line 342 of ViewableData.php
ViewableData->renderWith(TabSetFieldHolder)
Line 61 of TabSet.php
TabSet->FieldHolder()
Line 369 of ViewableData.php
ViewableData->obj(FieldHolder,,,1)
Line 445 of ViewableData.php
ViewableData->XML_val(FieldHolder,,1)
Line 58 of .cache.Applications.MAMP.htdocs.norbake.sapphire.templates.TabSetFieldHolder.ss
include(/private/var/folders/59/592GnU-hFvOTlhBg3xBN5++++TQ/-Tmp-/silverstripe-cache-Applications-MAMP-htdocs-norbake/.cache.Applications.MAMP.htdocs.norbake.sapphire.templates.TabSetFieldHolder.ss)
Line 392 of SSViewer.php
SSViewer->process(TabSet)
Line 342 of ViewableData.php
ViewableData->renderWith(TabSetFieldHolder)
Line 61 of TabSet.php
TabSet->FieldHolder()
Line 369 of ViewableData.php
ViewableData->obj(FieldHolder,,,1)
Line 445 of ViewableData.php
ViewableData->XML_val(FieldHolder,,1)
Line 77 of .cache.Applications.MAMP.htdocs.norbake.sapphire.templates.Includes.Form.ss
include(/private/var/folders/59/592GnU-hFvOTlhBg3xBN5++++TQ/-Tmp-/silverstripe-cache-Applications-MAMP-htdocs-norbake/.cache.Applications.MAMP.htdocs.norbake.sapphire.templates.Includes.Form.ss)
Line 392 of SSViewer.php
SSViewer->process(Form)
Line 342 of ViewableData.php
ViewableData->renderWith(Array)
Line 1081 of Form.php
Form->forTemplate()
Line 446 of ViewableData.php
ViewableData->XML_val(EditForm,,1)
Line 13 of .cache.Applications.MAMP.htdocs.norbake.cms.templates.Includes.CMSMain_right.ss
include(/private/var/folders/59/592GnU-hFvOTlhBg3xBN5++++TQ/-Tmp-/silverstripe-cache-Applications-MAMP-htdocs-norbake/.cache.Applications.MAMP.htdocs.norbake.cms.templates.Includes.CMSMain_right.ss)
Line 392 of SSViewer.php
SSViewer->process(CMSMain)
Line 342 of ViewableData.php
ViewableData->renderWith(Array)
Line 487 of LeftAndMain.php
LeftAndMain->Right()
Line 369 of ViewableData.php
ViewableData->obj(Right,,,1)
Line 445 of ViewableData.php
ViewableData->XML_val(Right,,1)
Line 71 of .cache.Applications.MAMP.htdocs.norbake.cms.templates.LeftAndMain.ss
include(/private/var/folders/59/592GnU-hFvOTlhBg3xBN5++++TQ/-Tmp-/silverstripe-cache-Applications-MAMP-htdocs-norbake/.cache.Applications.MAMP.htdocs.norbake.cms.templates.LeftAndMain.ss)
Line 392 of SSViewer.php
SSViewer->process(CMSMain)
Line 202 of Controller.php
Controller->handleAction(SS_HTTPRequest)
Line 134 of RequestHandler.php
RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
Controller->handleRequest(SS_HTTPRequest)
Line 283 of Director.php
Director::handleRequest(SS_HTTPRequest,Session)
Line 127 of Director.php
Director::direct(/admin/)
Line 127 of main.php