By number3 on
I'm getting the following message on my local site:
Fatal error: Cannot use string offset as an array in /var/www/html/mysite/test/includes/theme.inc on line 552
Every other page displays without any errors except for http://localhost/mysite/test/ (just after I login to the site).
I kind of found out what was causing the problem.
First of all I'm using Mailhandler to post comments to content on the site (via a mailbox). And I noticed that after posting a comment (A fairly large one) I will give me the error above. However once I delete the comment I won't receive the error message anymore, or if I disable the 'comment' module.
Has anyone encountered anything similar before?
Comments
some more
I've now discovered that anytime I post a comment to any node type and go to the url http://localhost/mysite/test or http://localhost/mysite/test/?q=node I get the error message below:
Fatal error: Cannot use string offset as an array in /var/www/html/mysite/test/includes/theme.inc on line 552
However, the rest of the site works and displays properly. Even if I specifically view the node and all of it's comments (http://localhost/mysite/test/?q=node/2) the page displays without any errors. It's just that initial page that's giving me problems.
But if I delete the comment then the initial page displays without the error.