[support] Partially broken site after PHP upgrade

Jason Flatt drupal at oadaeh.net
Tue Mar 25 19:26:57 UTC 2008


On Tuesday 25 March 2008 10:50:47 am Albert Cuesta wrote:
> Hi
>
> Our hosting provider upgraded PHP4 to PHP5, and now some parts of our
> Drupal 5.x site have stopped working.
>
> 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 posting the function that wraps around line 51.


-- 
Jason Flatt
http://www.oadaeh.net/
Father of Six:  http://www.flattfamily.com/ (Joseph, 15; Cramer, 13; Travis, 
11; Angela; Harry, 7; and William, 2)
Linux User:     http://www.kubuntu.org/
Drupal Fanatic: http://drupal.org/


More information about the support mailing list