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 E:\xampp\htdocs\digital\dlib\application\views\helpers\RecordUrl.php:34
Stack trace:
#0 [internal function]: Omeka_View_Helper_RecordUrl->recordUrl(NULL, 'show', false, Array)
#1 E:\xampp\htdocs\digital\dlib\application\libraries\Zend\View\Abstract.php(350): call_user_func_array(Array, Array)
#2 E:\xampp\htdocs\digital\dlib\application\libraries\globals.php(3252): Zend_View_Abstract->__call('recordUrl', Array)
#3 E:\xampp\htdocs\digital\dlib\application\libraries\globals.php(3252): Omeka_View->recordUrl(NULL, 'show', false, Array)
#4 E:\xampp\htdocs\digital\dlib\themes\hvd-dh\functions.php(292): record_url(NULL, 'show')
#5 E:\xampp\htdocs\digital\dlib\themes\hvd-dh\items\show.php(76): custom_next_previous()
#6 E:\xampp\htdocs\digital\dlib\application\libraries\Omeka\View.php(117): include('E:\\xampp\\htdocs...')
#7 E:\xampp\htdocs\digital\dlib\application\libraries\Zend\View\Abstract.php(888): Omeka_View->_run('E:\\xampp\\htdocs...')
#8 E:\xampp\htdocs\digital\dlib\application\libraries\Zend\Controller\Action\Helper\ViewRenderer.php(912): Zend_View_Abstract->render('items/show.php')
#9 E:\xampp\htdocs\digital\dlib\application\libraries\Zend\Controller\Action\Helper\ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript('items/show.php', NULL)
#10 E:\xampp\htdocs\digital\dlib\application\libraries\Zend\Controller\Action\Helper\ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render()
#11 E:\xampp\htdocs\digital\dlib\application\libraries\Zend\Controller\Action\HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#12 E:\xampp\htdocs\digital\dlib\application\libraries\Zend\Controller\Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#13 E:\xampp\htdocs\digital\dlib\application\libraries\Zend\Controller\Dispatcher\Standard.php(308): Zend_Controller_Action->dispatch('showAction')
#14 E:\xampp\htdocs\digital\dlib\application\libraries\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#15 E:\xampp\htdocs\digital\dlib\application\libraries\Zend\Application\Bootstrap\Bootstrap.php(105): Zend_Controller_Front->dispatch()
#16 E:\xampp\htdocs\digital\dlib\application\libraries\Zend\Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#17 E:\xampp\htdocs\digital\dlib\application\libraries\Omeka\Application.php(79): Zend_Application->run()
#18 E:\xampp\htdocs\digital\dlib\index.php(23): Omeka_Application->run()
#19 {main}