Collections fail with error: "Zend_Db_Statement_Mysqli_Exception"

Whenever I click on any link that relates to a collection, I get the error "Zend_Db_Statement_Mysqli_Exception," with this explanation:

Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.'id' DESC LIMIT 1' at line 4

(Note that id there originally had backticks surrounding it, but I don't know how to write literal backticks here.)

and this backtrace:

#0 /var/www/html/NJDHA/application/libraries/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SELECT <code>items</code>....')
#1 /var/www/html/NJDHA/application/libraries/Zend/Db/Adapter/Mysqli.php(388): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SELECT <code>items</code>....')
#2 /var/www/html/NJDHA/application/libraries/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Adapter_Mysqli->prepare('SELECT <code>items</code>....')
#3 [internal function]: Zend_Db_Adapter_Abstract->query(Object(Omeka_Db_Select), Array)
#4 /var/www/html/NJDHA/application/libraries/Omeka/Db.php(79): call_user_func_array(Array, Array)
#5 /var/www/html/NJDHA/application/libraries/Omeka/Db/Table.php(648): Omeka_Db->__call('query', Array)
#6 /var/www/html/NJDHA/application/libraries/Omeka/Db/Table.php(648): Omeka_Db->query(Object(Omeka_Db_Select), Array)
#7 /var/www/html/NJDHA/application/libraries/Omeka/Db/Table.php(281): Omeka_Db_Table->fetchObjects(Object(Omeka_Db_Select))
#8 /var/www/html/NJDHA/application/models/Collection.php(228): Omeka_Db_Table->findBy(Array, 1)
#9 /var/www/html/NJDHA/application/libraries/globals.php(2100): Collection->getFile()
#10 /var/www/html/NJDHA/application/views/scripts/collections/browse.php(23): record_image('collection', 'square_thumbnai...')
#11 /var/www/html/NJDHA/application/libraries/Omeka/View.php(117): include('/var/www/html/N...')
#12 /var/www/html/NJDHA/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/html/N...')
#13 /var/www/html/NJDHA/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render('collections/bro...')
#14 /var/www/html/NJDHA/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript('collections/bro...', NULL)
#15 /var/www/html/NJDHA/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render()
#16 /var/www/html/NJDHA/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#17 /var/www/html/NJDHA/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#18 /var/www/html/NJDHA/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('browseAction')
#19 /var/www/html/NJDHA/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#20 /var/www/html/NJDHA/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(101): Zend_Controller_Front->dispatch()
#21 /var/www/html/NJDHA/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#22 /var/www/html/NJDHA/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#23 /var/www/html/NJDHA/index.php(23): Omeka_Application->run()
#24 {main}

If it helps, I'm running Omeka 2.2.2 on a local Fedora 21 install. Here's my mysql version:

└─>mysql --version
mysql Ver 15.1 Distrib 10.0.14-MariaDB, for Linux (x86_64) using EditLine wrapper

Does anyone know what might be causing this?

I could be wrong, but it might be because you're using MariaDB instead of vanilla MySQL. Have you looked at the instructions for Installing on Fedora?