I recently attempted an upgrade of blog module which I "backed out of " and now my online blog only shows one blog entry ( there were over 10 ) and if I clock on that link get the following error;
Any ideas appreciated
EVan
[User Error] Uncaught Exception: Object->__call(): the method 'sidebar' does not exist on 'Page'
GET /to-do-list-2/
Line 551 in /home/nzsnow/lilymax/sapphire/core/Object.php
Source
542 case isset($config['function']) :
543 return $config['function']($this, $arguments);
544
545 default :
546 throw new Exception (
547 "Object->__call(): extra method $method is invalid on $this->class:" . var_export($config, true)
548 );
549 }
550 } else {
551 throw new Exception("Object->__call(): the method '$method' does not exist on '$this->class'");
552 }
553 }
554
555 // -----------------------------------------------------------------------------------------------------------------
556
557 /**
Trace
Object->__call(SideBar,Array)
Line 116 of BlogEntry.php
Page->SideBar()
Line 116 of BlogEntry.php
BlogEntry->SideBar()
Line 525 of Object.php
Object->__call(Array,Array)
BlogEntry_Controller->SideBar(SideBar,Array)
Line 408 of ViewableData.php
ViewableData->XML_val()
Line 6 of .cache.home.nzsnow.lilymax.blog.templates.Layout.BlogEntry.ss
include(/home/nzsnow/lilymax/silverstripe-cache/.cache.home.nzsnow.lilymax.blog.templates.Layout.BlogEntry.ss)
Line 354 of SSViewer.php
SSViewer->process(Array,Array)
Line 346 of SSViewer.php
SSViewer->process(SideBar,,1)
Line 175 of Controller.php
Controller->handleAction(BlogEntry_Controller)
Line 129 of RequestHandler.php
RequestHandler->handleRequest(BlogEntry_Controller)
Line 122 of Controller.php
Controller->handleRequest(HTTPRequest)
Line 29 of ModelAsController.php
ModelAsController->handleRequest(HTTPRequest)
Line 277 of Director.php
Director::handleRequest(HTTPRequest)
Line 121 of Director.php
Director::direct(HTTPRequest)
Line 118 of main.php