Upgraded to PHP 5.3 and Something Went Wrong (Dang!)

Glowball
Glowball's picture

Joined: 2013-05-13
Posts: 1
Posted: Mon, 2013-05-13 06:21

Our server crashed with a Gallery 3.0.2 installation that has been working perfectly with a custom theme. The host moved us to PHP 5.3 and the site does not work. Most pages resolve to the "Dang!" error and the log has entries like this (I've put "snip" in place of the actual site name):

2013-05-12 17:09:11 -07:00 --- error: InvalidArgumentException [ 0 ]: Passed variable is not an array or object, using empty array instead
/var/www/vhosts/snip.com/httpdocs/modules/gallery/helpers/theme.php [ 106 ]
#0 /var/www/vhosts/snip.com/httpdocs/modules/gallery/helpers/theme.php(106): ArrayObject->__construct(NULL, 2)
#1 /var/www/vhosts/snip.com/httpdocs/modules/gallery/libraries/Theme_View.php(41): theme_Core::get_info('snip')
#2 /var/www/vhosts/snip.com/httpdocs/modules/gallery/controllers/albums.php(63): Theme_View_Core->__construct('page.html', 'collection', 'album')
#3 /var/www/vhosts/snip.com/httpdocs/modules/gallery/controllers/albums.php(22): Albums_Controller->show(Object(Item_Model))
#4 [internal function]: Albums_Controller->index()
#5 /var/www/vhosts/snip.com/httpdocs/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array)
#6 [internal function]: Kohana_Core::instance(NULL)
#7 /var/www/vhosts/snip.com/httpdocs/system/core/Event.php(208): call_user_func_array(Array, Array)
#8 /var/www/vhosts/snip.com/httpdocs/application/Bootstrap.php(67): Event_Core::run('system.execute')
#9 /var/www/vhosts/snip.com/httpdocs/index.php(102): require('/var/www/vhosts...')
#10 {main}

The only page I've found that partially loads is the admin login page at index.php/login/ajax but when I try to log in it tries to download a json file. I'm not sure what to do from here. Any suggestions?

Thanks for your help!