Error after moving from MAMP to real server

We just moved the site from MAMP on my laptop to our actual server. When I click on any tags on the "browse by tag" page or any links involving browse/tag, I get the following error message:

Fatal error: Uncaught exception 'Zend_Db_Statement_Mysqli_Exception' with message 'Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'id #120))' at line 1' in /export/software/minerva/www/larsen/dlcs/application/libraries/Zend/Db/Statement/Mysqli.php:84 Stack trace: #0 /export/software/minerva/www/larsen/dlcs/application/libraries/Zend/Db/Statement.php(109): Zend_Db_Statement_Mysqli->_prepare('SELECT COUNT(DI...') #1 /export/software/minerva/www/larsen/dlcs/application/libraries/Zend/Db/Adapter/Mysqli.php(377): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SELECT COUNT(DI...') #2 /export/software/minerva/www/larsen/dlcs/application/libraries/Zend/Db/Adapter/Abstract.php(432): Zend_Db_Adapter_Mysqli->prepare('SELECT COUNT(DI...') #3 /export/software/minerva/www/larsen/dlcs/application/libraries/Zend/Db/Adapter/Abstract.php(737): Zend_Db_Adapter_Abstract->query(Object(Omeka_Db_Select), Array) #4 /expor in /export/software/minerva/www/larsen/dlcs/application/libraries/Zend/Db/Statement/Mysqli.php on line 84

This problem did not occur when running Omeka on MAMP. I'd appreciate any help or ideas as to what is causing this. Thank you!

(This also occurs when using the search engine.)

What version of MySQL do you have on your server?

5.0.16 (and it looks like MAMP, which I moved from, was using 5.0.37).
If it's an issue of SQL needing to be updated, we will be getting a newer version soon.

This was indeed solved when we moved to a new server.