Jump to:

1835 Posts in 1139 Topics by 554 members

Blog Module

SilverStripe Forums » Blog Module » Lost blogs - the method 'sidebar' does not exist on 'Page' GET /to-do-list-2/

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 666 Views
  • evski
    Avatar
    Community Member
    6 Posts

    Lost blogs - the method 'sidebar' does not exist on 'Page' GET /to-do-list-2/ Link to this post

    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

  • evski
    Avatar
    Community Member
    6 Posts

    Re: Lost blogs - the method 'sidebar' does not exist on 'Page' GET /to-do-list-2/ Link to this post

    Interestingly enough i seem to have lost my "Tag" and "Archive" widgets. I cant seem to work out how to edit my widgets in the Blog either .....

  • evski
    Avatar
    Community Member
    6 Posts

    Re: Lost blogs - the method 'sidebar' does not exist on 'Page' GET /to-do-list-2/ Link to this post

    Help still no resolution to this issue I have spent quit ea while trying to work it out and no success

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Lost blogs - the method 'sidebar' does not exist on 'Page' GET /to-do-list-2/ Link to this post

    the method 'sidebar' does not exist on 'Page'

    When you removed the blog module, all the blog entries would have reverted back to Page objects. You will need to install the blog module, then go back through your pages again make sure they are the correct page type ('Blog Entry'. Some data may have been lost but you should be able to revert those pages back using the version history in the CMS.

    666 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.