Fatal error: Uncaught TypeError: Argument 2 passed to set_current_record() must be an instance of Omeka_Record_AbstractRecord, null given, called in /data/www/Omeka/Cartomac/plugins/BookReader/views/public/viewer/show.php on line 5 and defined in /data/www/Omeka/Cartomac/application/libraries/globals.php:1844 Stack trace: #0 /data/www/Omeka/Cartomac/plugins/BookReader/views/public/viewer/show.php(5): set_current_record('item', NULL) #1 /data/www/Omeka/Cartomac/application/libraries/Omeka/View.php(114): include('/data/www/Omeka...') #2 /data/www/Omeka/Cartomac/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/data/www/Omeka...') #3 /data/www/Omeka/Cartomac/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render(NULL) #4 /data/www/Omeka/Cartomac/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript('viewer/show.php', NULL) #5 /data/www/Omeka/Cartomac/application/libraries/Zend/Contr in /data/www/Omeka/Cartomac/application/libraries/globals.php on line 1844