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