Error Showing Exhibits

A few months ago we attempted upgrading, but we are back running version 1.0. All was fine until recently. Clicking on our Exhibits link bring up:

Fatal error: Uncaught exception 'Zend_Db_Statement_Mysqli_Exception' with message 'Mysqli statement execute error : Prepared statement needs to be re-prepared' in /home/sunyoneonta/ Stack trace: #0 /home/sunyoneonta/ Zend_Db_Statement_Mysqli->_execute(Array) #1 /home/sunyoneonta/ Zend_Db_Statement->execute(Array) #2 /home/sunyoneonta/ Zend_Db_Adapter_Abstract->query(Object(Omeka_Db_Select), Array) #3 /home/sunyoneonta/ Omeka_Db->__call(Array, Array) #4 /home/sunyoneonta/ Omeka_Db->query('query', Array) #5 /home/sunyoneonta/ in /home/sunyoneonta/ on line 215

Admin also shows:

Fatal error: Uncaught exception 'Zend_Auth_Adapter_Exception' with message 'The supplied parameters to Zend_Auth_Adapter_DbTable failed to produce a valid sql statement, please check table and column names for validity.' in /home/sunyoneonta/ Stack trace: #0 /home/sunyoneonta/ Zend_Auth_Adapter_DbTable->_authenticateQuerySelect(Object(Zend_Db_Select)) #1 /home/sunyoneonta/ Zend_Auth_Adapter_DbTable->authenticate() #2 /home/sunyoneonta/ Zend_Auth->authenticate(Object(Zend_Auth_Adapter_DbTable)) #3 /home/sunyoneonta/ UsersController->authenticate() #4 /home/sunyoneonta/ UsersControll in /home/sunyoneonta/ on line 392

This sounds like an issue with your SQL server. Maybe it was upgraded or changed recently?

The first thing I'd try would be doing a "repair" operation on your Omeka tables, but I'd also check with your host/IT to see if there have been any major changes.