After I installed mollom and spamprotection, adding to mysite/_config.php and flushing I cant login, even in forums I cant login getting following error:
[Warning] ViewableData_Customised::obj() 'Content' was requested from the array data as an object but it's not an object. I can't cast it.
GET /Security/login
Line 990 in /home/verblorg/public_html/sapphire/core/ViewableData.php
Source
981 return $val;
982 } else {
983 return $this->obj->XML_val($fieldName, $args, $cache);
984 }
985 }
986
987 function obj($fieldName, $args = null, $forceReturnObject = false) {
988 if(isset($this->extraData[$fieldName])) {
989 if(!is_object($this->extraData[$fieldName])) {
990 user_error("ViewableData_Customised::obj() '$fieldName' was requested from the array data as an object but it's not an object. I can't cast it.", E_USER_WARNING);
991 }
992 return $this->extraData[$fieldName];
993 } else {
994 return $this->obj->obj($fieldName, $args, $forceReturnObject);
995 }
996 }
Trace
* ViewableData_Customised::obj() 'Content' was requested from the array data as an object but it's not an object. I can't cast it.
Line 990 of ViewableData.php
* ViewableData_Customised->obj(Content)
Line 254 of .cache.home.verblorg.public_html.themes.BrightSide1.templates.Page.ss
* include(/home/verblorg/public_html/silverstripe-cache/.cache.home.verblorg.public_html.themes.BrightSide1.templates.Page.ss)
Line 360 of SSViewer.php
* SSViewer->process(ViewableData_Customised)
Line 773 of ViewableData.php
* ViewableData->renderWith(Array)
Line 363 of Security.php
* Security->login(HTTPRequest)
Line 159 of Controller.php
* Controller->handleAction(HTTPRequest)
Line 129 of RequestHandler.php
* RequestHandler->handleRequest(HTTPRequest)
Line 119 of Controller.php
* Controller->handleRequest(HTTPRequest)
Line 277 of Director.php
* Director::handleRequest(HTTPRequest,Session)
Line 121 of Director.php
* Director::direct(/Security/login)
Line 118 of main.php