[support] Partially broken site after PHP upgrade

Earnie Boyd earnie at users.sourceforge.net
Tue Mar 25 19:47:14 UTC 2008


Quoting Albert Cuesta <acuesta at gmail.com>:

> Hi
>
> Our hosting provider upgraded PHP4 to PHP5, and now some parts of our
> Drupal 5.x site have stopped working.
>

Which version of PHP5?

> This is what we are getting when trying to access many pages:
>
> Fatal error: Cannot use string offset as an array in
> /home/MYSITE/public_html/sites/all/themes/MYSITE/template.php on line
> 51
>
> Any suggestions for fixing this?
>

Try emptying your cache tables.  Perhaps you also need to empty the 
session table.  You might even need to empty the cached browser cookies.

If that fails to correct you'll need to tell us what is on line 51 of 
template.php.

Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.com/



More information about the support mailing list