boffinboy
Member
Posted 2 years ago #
Getting this error with blog-in-blog plug-in:
Fatal error: [] operator not supported for strings in /home/.../wp-content/plugins/blog-in-blog/blog-in-blog.php on line 452
I am posting this because the error message appears to be something not thrown up by blog-in-blog specifically, as google searching at least shows that Fatal error: [] operator not supported for strings in is a common error message in other plug-ins. I can't follow the answers, though many do have something to do with categories, and blog-in-blog uses categories to create a page listing posts of a certain specified category.
I hope there is a quick fix or I shall have to drop the plug-in which would be a pity.
It would appear to be a problem on line 452 of the blog-in-blog plugin.
boffinboy
Member
Posted 2 years ago #
Ah well, if PHP were my thing I would have picked line 452 apart happily. But it isn't and given the frequency of this error message on the net I guess I have some reason to wonder if there is a less specific reason. Were it just the plug-in no one would use it either.
FYI lines 451-453
// categories to hide
$out .= '<tr valign="top" ><th scope="row">Category id to hide from homepage</th><td>';
$select = '<select name="bib_hide_category[]" multiple="multiple" size="6" style="height:auto;">';
boffinboy
Member
Posted 2 years ago #
Update just released today from 0.4 to 0.5 has fixed the problem!