"Zend_Session_Exception"

This Monday morning greeted me with the discovery that most (though, curiously not all*) of the many Omeka sites I have created appear no longer to work.

The error messages all appear to focus on parameter exceptions within Zend, and include a message, repeated twice, like this:

Zend_Session::start() - /home2/artinte3/public_html/quattrocentoitalia/omeka/application/libraries/Zend/Db/Table/Abstract.php(Line:1305): Error #2 count(): Parameter must be an array or an object that implements Countable
/home2/artinte3/public_html/quattrocentoitalia/omeka/application/libraries/Zend/Db/Table/Abstract.php(Line:1305): Error #2 count(): Parameter must be an array or an object that implements Countable

followed by a readout of twenty lines of code.

As context, it appears that my account on BlueHost was quite recently migrated to a new server, and I wonder if that move might have created the circumstances under which each sites databases no longer satisfied Zend’s parameters?

I’ve been in touch with my host provider, and theoretically they are looking into it, but I thought I would reach out to the community to see if anyone else has had the sudden collapse of several sites at once? I appreciate any and all suggestions!

All best
Quint Gregory

*The sites that appear to work just fine all are more recent in terms of their creation and version number. All of these sites are Omeka 2.6.1 or above.

Almost certainly what happened here is that your host switched to a newer version of PHP.

Updating to Omeka 2.7 will eliminate those errors.

That’s what I wondered about. Thanks for the quick reply and for the good tip.

Fingers crossed!

:slight_smile:

So one challenge that occurs to me in terms of updating these sites, which admin panels I no longer can access: I cannot turn off the plugins. Is there a way to suppress active plugins when one no longer can access one’s admin site because of external factors (as in this case where it seems a PHP update has rendered errors)?

I am going to try to force the issue with a small site that no longer has value and has active plugins, but there are many sites that I’d rather not lose present configurations and data.

As always, any suggestions are most welcome!

All best
Quint Gregory

Success with the test case, so thank you for the suggestion (and thanks to several crossed toes and fingers)! Much work ahead (but at least it is proven to work).
Thanks!