I am relatively new to Omeka and I am getting this error message in the exhibit pages:
exception 'Omeka_View_Exception' with message 'A current item variable has not been set to this view.' in /var/www/omeka/application/views/helpers/GetCurrentRecord.php:27
Stack trace:
#0 [internal function]: Omeka_View_Helper_GetCurrentRecord->getCurrentRecord('item', true)
#1 /var/www/omeka/application/libraries/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#2 /var/www/omeka/application/libraries/globals.php(1825): Zend_View_Abstract->__call('getCurrentRecor...', Array)
#3 /var/www/omeka/application/libraries/globals.php(1825): Omeka_View->getCurrentRecord('item', true)
#4 /var/www/omeka/plugins/FedoraConnector/helpers/FedoraConnectorFunctions.php(43): get_current_record('item')
#5 /var/www/omeka/plugins/FedoraConnector/FedoraConnectorPlugin.php(255): fc_isFedoraStream(NULL)
#6 [internal function]: FedoraConnectorPlugin->filterExhibitAttachmentMarkup('', Array)
#7 /var/www/omeka/application/libraries/Omeka/Plugin/Broker.php(271): call_user_func(Array, '', Array)
#8 /var/www/omeka/application/libraries/globals.php(324): Omeka_Plugin_Broker->applyFilters('exhibit_attachm...', '', Array)
#9 /var/www/omeka/plugins/ExhibitBuilder/views/helpers/ExhibitAttachment.php(55): apply_filters('exhibit_attachm...', '', Array)
#10 [internal function]: ExhibitBuilder_View_Helper_ExhibitAttachment->exhibitAttachment(Object(ExhibitBlockAttachment), Array)
#11 /var/www/omeka/application/libraries/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#12 /var/www/omeka/plugins/ExhibitBuilder/views/shared/exhibit_layouts/file-text/layout.php(14): Zend_View_Abstract->__call('exhibitAttachme...', Array)
#13 /var/www/omeka/plugins/ExhibitBuilder/views/shared/exhibit_layouts/file-text/layout.php(14): Omeka_View->exhibitAttachment(Object(ExhibitBlockAttachment), Array)
#14 /var/www/omeka/application/libraries/Omeka/View.php(117): include('/var/www/omeka/...')
#15 /var/www/omeka/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/omeka/...')
#16 /var/www/omeka/application/libraries/Zend/View/Helper/Partial.php(109): Zend_View_Abstract->render('exhibit_layouts...')
#17 [internal function]: Zend_View_Helper_Partial->partial('exhibit_layouts...', Array)
#18 /var/www/omeka/application/libraries/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#19 /var/www/omeka/plugins/ExhibitBuilder/helpers/ExhibitPageFunctions.php(33): Zend_View_Abstract->__call('partial', Array)
#20 /var/www/omeka/plugins/ExhibitBuilder/helpers/ExhibitPageFunctions.php(33): Omeka_View->partial('exhibit_layouts...', Array)
#21 /var/www/omeka/themes/seasons/exhibit-builder/exhibits/show.php(23): exhibit_builder_render_exhibit_page()
#22 /var/www/omeka/application/libraries/Omeka/View.php(117): include('/var/www/omeka/...')
#23 /var/www/omeka/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/omeka/...')
#24 /var/www/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(905): Zend_View_Abstract->render('exhibits/show.p...')
#25 /var/www/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(926): Zend_Controller_Action_Helper_ViewRenderer->renderScript('exhibits/show.p...', NULL)
#26 /var/www/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(965): Zend_Controller_Action_Helper_ViewRenderer->render()
#27 /var/www/omeka/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#28 /var/www/omeka/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#29 /var/www/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('showAction')
#30 /var/www/omeka/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#31 /var/www/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#32 /var/www/omeka/application/libraries/Zend/Application.php(382): Zend_Application_Bootstrap_Bootstrap->run()
#33 /var/www/omeka/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#34 /var/www/omeka/index.php(23): Omeka_Application->run()
#35 {main}