Omeka has encountered an error

InvalidArgumentException

Invalid record passed to recordMetadata.

exception 'InvalidArgumentException' with message 'Invalid record passed to recordMetadata.' in /omeka/www/html/omeka/application/views/helpers/Metadata.php:58
Stack trace:
#0 [internal function]: Omeka_View_Helper_Metadata->metadata(NULL, Array, Array)
#1 /omeka/www/html/omeka/application/libraries/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#2 /omeka/www/html/omeka/application/libraries/globals.php(2041): Zend_View_Abstract->__call('metadata', Array)
#3 /omeka/www/html/omeka/application/libraries/globals.php(2041): Omeka_View->metadata(NULL, Array, Array)
#4 /omeka/www/html/omeka/themes/berlin-custom/php/custom-thumbnails.php(9): metadata(NULL, Array)
#5 /omeka/www/html/omeka/themes/berlin-custom/items/browse.php(64): include_once('/omeka/www/html...')
#6 /omeka/www/html/omeka/application/libraries/Omeka/View.php(114): include('/omeka/www/html...')
#7 /omeka/www/html/omeka/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/omeka/www/html...')
#8 /omeka/www/html/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render('items/browse.ph...')
#9 /omeka/www/html/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript('items/browse.ph...', NULL)
#10 /omeka/www/html/omeka/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render()
#11 /omeka/www/html/omeka/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#12 /omeka/www/html/omeka/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#13 /omeka/www/html/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('browseAction')
#14 /omeka/www/html/omeka/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#15 /omeka/www/html/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#16 /omeka/www/html/omeka/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#17 /omeka/www/html/omeka/application/libraries/Omeka/Application.php(73): Zend_Application->run()
#18 /omeka/www/html/omeka/index.php(23): Omeka_Application->run()
#19 {main}