This issue had already been posted and it has been closed at http://drupal.org/node/106288.

This is the error message Fatal error: Cannot use string offset as an array in /home/.boots/"adminname"/"domainname.com"/includes/theme.inc on line 533

I got the same error today when I visit http://www.dilipfrancis.com/node/7 from the admin interface using the drupal 5.0-rc1. When I try to access the page as a guest it loads normally, but happens when I try to access it as an admin. Noticed it after posting the test comment at the bottom of the blog. Till then it was all fine, am guessing that it has to do something with the way the comments are logged, but not sure how it loads normally when i am logged in as an anonymous user, but does not work when logged in as a registered user.

This was a new install, no upgrades from a previous system. Anyone else experiencing such issues, need immediate help

Comments

drumm’s picture

Status: Active » Closed (won't fix)

Please try the final release, which is newer than release candidate (RC) 1.

List all additional modules you have installed if the error persists.

franc23’s picture

Version: 5.0-rc1 » 5.1

Thanks for helping. It still does not solve it after updating the system to drupal 5.1, error is the same.

The modules that are currently installed follows:
CONTENT
-highlight
CORE
-blog
-color
-comment
-contact
-help
-locale
-menu
-path
-profile
-search
-statistics
-taxonomy
-upload
CORE(block, filter, node, system, user, watchdog)
DEVELOPMENT
-checkall
DISPLAY
-Slideshow creator
IMAGE
-image
-image attach
-image gallery
LIBRARIES
-fquery
OPTIONAL
-login menu
OTHER
-active select
-dhtml menus
-focus
-imce
-panels
-pathauto
-persistent login
-service links
-site map
-spam
-switchtheme
-upload preview
-weather
-widgeditor
TAXONOMY
-tagadelic
VIEWS
-views
-views rss
-views theme wizard
-views ui
VOTING
-voting api
jQuery PLUGINS
-thickbox

Will update status if i find anything on my end. Thanks a ton!

chx’s picture

disable all contribs. switchtheme, widgeditor are primary suspects.

franc23’s picture

Status: Closed (won't fix) » Fixed

Tried to disable the contributed = 'other' modules one by one and zeroed in on the 'Spam' module. Tried to enable it atleast 3 times after that and error repeats. Leaving it disable makes the original error page load normally.

Switchtheme and widgeditor did not affect this.

Many thanks again!

Anonymous’s picture

Status: Fixed » Closed (fixed)