I was going through and deleting some of my test annotations through the admin site. Now I get an error message on some of the pages when browsing through the image annotations.
exception 'Exception' with message 'An item has not been set to be displayed on this theme page! Please see Omeka documentation for details.' in /home/http/omeka/application/helpers/ItemFunctions.php:74
Stack trace:
#0 /home/http/omeka/application/helpers/LinkFunctions.php(183): get_current_item()
#1 /home/http/omeka/plugins/ImageAnnotation/views/admin/moderate/browse.php(31): link_to_item(NULL, Array, 'show', NULL)
#2 /home/http/omeka/application/libraries/Omeka/View.php(114): include('/home/http/...')
#3 /home/http/omeka/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/home/http/...')
#4 /home/http/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(897): Zend_View_Abstract->render('moderate/browse...')
#5 /home/http/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(918): Zend_Controller_Action_Helper_ViewRenderer->renderScript('moderate/browse...', NULL)
#6 /home/http/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(957): Zend_Controller_Action_Helper_ViewRenderer->render()
#7 /home/http/omeka/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#8 /home/http/omeka/application/libraries/Zend/Controller/Action.php(523): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#9 /home/http/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('browseAction')
#10 /home/http/omeka/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 /home/http/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#12 /home/http/omeka/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#13 /home/http/omeka/application/libraries/Omeka/Core.php(166): Zend_Application->run()
#14 /home/http/omeka/admin/index.php(45): Omeka_Core->run()
#15 {main}
If I am just going through the pages of annotations in their default order (which looks like annotation ID) then I get the error message above on some of the pages. However, if I sort the annotations by Item ID, I am able to click through all pages without any problem.