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/cgpcommunitystories.org/application/libraries/Zend/Db/Statement/Mysqli.php:215 Stack trace: #0 /home/sunyoneonta/cgpcommunitystories.org/application/libraries/Zend/Db/Statement.php(283): Zend_Db_Statement_Mysqli->_execute(Array) #1 /home/sunyoneonta/cgpcommunitystories.org/application/libraries/Zend/Db/Adapter/Abstract.php(433): Zend_Db_Statement->execute(Array) #2 /home/sunyoneonta/cgpcommunitystories.org/application/libraries/Omeka/Db.php(70): Zend_Db_Adapter_Abstract->query(Object(Omeka_Db_Select), Array) #3 /home/sunyoneonta/cgpcommunitystories.org/application/libraries/Omeka/Db/Table.php(401): Omeka_Db->__call(Array, Array) #4 /home/sunyoneonta/cgpcommunitystories.org/application/libraries/Omeka/Db/Table.php(401): Omeka_Db->query('query', Array) #5 /home/sunyoneonta/cgpcommunitystories.org/plugins/ExhibitBuilder/models/ExhibitTable.php(99) in /home/sunyoneonta/cgpcommunitystories.org/application/libraries/Zend/Db/Statement/Mysqli.php 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/cgpcommunitystories.org/application/libraries/Zend/Auth/Adapter/DbTable.php:392 Stack trace: #0 /home/sunyoneonta/cgpcommunitystories.org/application/libraries/Zend/Auth/Adapter/DbTable.php(286): Zend_Auth_Adapter_DbTable->_authenticateQuerySelect(Object(Zend_Db_Select)) #1 /home/sunyoneonta/cgpcommunitystories.org/application/libraries/Zend/Auth.php(117): Zend_Auth_Adapter_DbTable->authenticate() #2 /home/sunyoneonta/cgpcommunitystories.org/application/controllers/UsersController.php(302): Zend_Auth->authenticate(Object(Zend_Auth_Adapter_DbTable)) #3 /home/sunyoneonta/cgpcommunitystories.org/application/controllers/UsersController.php(273): UsersController->authenticate() #4 /home/sunyoneonta/cgpcommunitystories.org/application/libraries/Zend/Controller/Action.php(503): UsersControll in /home/sunyoneonta/cgpcommunitystories.org/application/libraries/Zend/Auth/Adapter/DbTable.php 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.