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.
I am not sure what happened. But whenever I click on the subject of any of my BLOG posts I see this error:
The website server has not been able to respond to your request.
The weirdest part is that I can post new blog entries without fail :/
I sure hope someone else has seen this before...
Put the site into dev mode - by adding ?isDev=1 after the URL or by setting Director::set_environment_type("dev"); in the mysite/_config so you can see the proper error not just the generic error screen :D
I see the raw error, but am totally lost.
Here's a snippet:
FATAL ERROR: Object::__call() Method 'SideBar' not found in class 'BlogHolder'
At line 190 in /usr/local/www/apache22/data/sl/sapphire/core/Object.php
user_error(Object::__call() Method 'SideBar' not found in class 'BlogHolder',256)
line 190 of Object.php
line 82 of BlogEntry.php
The 1st line I am sure says it all, but I have done nothing to my site except to make the small edits so that I can place Widgets on all of my pages as needed.
Let me know if you would like me to paste the entire error page.
I sure hope this is an easy fix ... I have put a lot of work into this over the weekend.
What version you using? There shouldnt be any method SideBar but rather a WidgetArea called SideBar.
Whatever the latest version is.
I played around with it until the wee hours of the morning. At one point I thought I had found the problem and fixed it. But in the end, the formatting in my posts was still messy.
So today I just redid the whole thing and used my sql backup to restore my posts.
I'm not touching the code anymore...
I will just safely wait for you guys to add the Widget feature to all pages.
If you check the widget page in the docs it explains how to do this. Then on the blog all you would need to do is to remove any references to the SideBar
I did that.
That is how I got into this predicament. I actually was thinking it may just be the blog module being so new (v0.1).
Either way, if adding Widgets to any page is something that is coming in a future release then I will just wait.
If it isn't I will take another crack at it on another day.
Ok did you remove the SideBar method from BlogEntry as well? that would be another place that would throw the error.