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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Blog Module /

Discuss the Blog Module.

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

Blog Module - Can not add a blog post 500 Internal Server Error

Go to End

6 Posts   2155 Views


Community Member, 60 Posts

8 June 2015 at 5:59pm

I have added the blog module, lumberjack, tagfield, widgets and comments on a 3.1.12 site, but when I go to save a new blog post I get a 500 internal server error. Is there something I am missing?


Community Member, 419 Posts

9 June 2015 at 9:02am

Edited: 09/06/2015 9:03am

The error.
If one doesn't display, check your logs.
If you don't have logs, put the site into dev mode.
If one still doesn't display, ensure display_errors is on in php ini.

Only if a dev/build and a ?flush don't fix it, of course.


Community Member, 60 Posts

9 June 2015 at 1:18pm

Edited: 09/06/2015 1:19pm

So I have logged the errors to a text file and this is what I get:

[09-Jun-2015 11:14:39 Australia/Sydney] PHP Fatal error:  singleton() passed bad class_name: SS_Map::__set_state(array(
   'list' => 
     'joinTable' => 'BlogPost_Categories',
     'localKey' => 'BlogCategoryID',
     'foreignKey' => 'BlogPostID',
     'extraFields' => NULL,
     '_compositeExtraFields' => 
    array (
     'dataClass' => 'BlogCategory',
     'dataQuery' => 
       'dataClass' => 'BlogCategory',
       'query' => 
         'select' => 
        array (
         'from' => 
        array (
          'BlogCategory' => '"BlogCategory"',
          'BlogPost_Categories' => 
          array (
            'type' => 'INNER',
            'table' => 'BlogPost_Categories',
            'filter' => 
            array (
              0 => '"BlogPost_Categories"."BlogCategoryID" = "BlogCategory"."ID"',
            'order' => 20,
         'where' => 
        array (
          0 => '"BlogPost_Categories"."Blo in /.../framework/core/Core.php on line 156

I'm assuming I am missing something, but just not sure what. Is there anything that needs to go in the config.yml file?


Community Member, 60 Posts

9 June 2015 at 2:04pm

I have wound up removing all those modules and reinstalling and it is now all working.


Community Member, 6 Posts

24 November 2015 at 6:26am

Edited: 24/11/2015 6:50am

I am having this same issue with default installation. V 3.2.1

Any idea?



Community Member, 10 Posts

27 June 2017 at 5:26pm

Thank you infomation.

โปรโมชั่น sbobet