Omeka has encountered an error

Omeka_View_Exception

Invalid record passed while getting record URL.

exception 'Omeka_View_Exception' with message 'Invalid record passed while getting record URL.' in /home/expandin/public_html/application/views/helpers/RecordUrl.php:34
Stack trace:
#0 [internal function]: Omeka_View_Helper_RecordUrl->recordUrl(NULL, NULL, false, Array)
#1 /home/expandin/public_html/application/libraries/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#2 /home/expandin/public_html/application/libraries/globals.php(3223): Zend_View_Abstract->__call('recordUrl', Array)
#3 /home/expandin/public_html/application/libraries/globals.php(3223): Omeka_View->recordUrl(NULL, NULL, false, Array)
#4 /home/expandin/public_html/plugins/WaterfallGalleryLayout/views/shared/exhibit_layouts/waterfall_gallery/layout.php(14): record_url(NULL)
#5 /home/expandin/public_html/application/libraries/Omeka/View.php(117): include('/home/expandin/...')
#6 /home/expandin/public_html/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/home/expandin/...')
#7 /home/expandin/public_html/application/libraries/Zend/View/Helper/Partial.php(109): Zend_View_Abstract->render('exhibit_layouts...')
#8 [internal function]: Zend_View_Helper_Partial->partial('exhibit_layouts...', Array)
#9 /home/expandin/public_html/application/libraries/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#10 /home/expandin/public_html/plugins/ExhibitBuilder/helpers/ExhibitPageFunctions.php(33): Zend_View_Abstract->__call('partial', Array)
#11 /home/expandin/public_html/plugins/ExhibitBuilder/helpers/ExhibitPageFunctions.php(33): Omeka_View->partial('exhibit_layouts...', Array)
#12 /home/expandin/public_html/themes/denison-expanding-archives-omeka-theme-master/exhibit-builder/exhibits/show.php(22): exhibit_builder_render_exhibit_page()
#13 /home/expandin/public_html/application/libraries/Omeka/View.php(117): include('/home/expandin/...')
#14 /home/expandin/public_html/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/home/expandin/...')
#15 /home/expandin/public_html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(905): Zend_View_Abstract->render('exhibits/show.p...')
#16 /home/expandin/public_html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(926): Zend_Controller_Action_Helper_ViewRenderer->renderScript('exhibits/show.p...', NULL)
#17 /home/expandin/public_html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(965): Zend_Controller_Action_Helper_ViewRenderer->render()
#18 /home/expandin/public_html/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#19 /home/expandin/public_html/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#20 /home/expandin/public_html/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('showAction')
#21 /home/expandin/public_html/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#22 /home/expandin/public_html/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#23 /home/expandin/public_html/application/libraries/Zend/Application.php(382): Zend_Application_Bootstrap_Bootstrap->run()
#24 /home/expandin/public_html/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#25 /home/expandin/public_html/index.php(23): Omeka_Application->run()
#26 {main}