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?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
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.
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' =>
ManyManyList::__set_state(array(
'joinTable' => 'BlogPost_Categories',
'localKey' => 'BlogCategoryID',
'foreignKey' => 'BlogPostID',
'extraFields' => NULL,
'_compositeExtraFields' =>
array (
),
'dataClass' => 'BlogCategory',
'dataQuery' =>
DataQuery::__set_state(array(
'dataClass' => 'BlogCategory',
'query' =>
SQLQuery::__set_state(array(
'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?
I have wound up removing all those modules and reinstalling and it is now all working.
I am having this same issue with default installation. V 3.2.1
Any idea?
Thanks.
Thank you infomation.