Omeka has encountered an error

InvalidArgumentException

Invalid record passed to recordMetadata.

exception 'InvalidArgumentException' with message 'Invalid record passed to recordMetadata.' in /var/www/omeka-2.3.1/application/views/helpers/Metadata.php:57
Stack trace:
#0 [internal function]: Omeka_View_Helper_Metadata->metadata(NULL, 'thumbnail_uri', Array)
#1 /var/www/omeka-2.3.1/application/libraries/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#2 /var/www/omeka-2.3.1/application/libraries/globals.php(2004): Zend_View_Abstract->__call('metadata', Array)
#3 /var/www/omeka-2.3.1/application/libraries/globals.php(2004): Omeka_View->metadata(NULL, 'thumbnail_uri', Array)
#4 /var/www/omeka-2.3.1/themes/seasons/common/header.php(13): metadata(NULL, 'thumbnail_uri')
#5 /var/www/omeka-2.3.1/application/libraries/Omeka/View.php(117): include('/var/www/omeka-...')
#6 /var/www/omeka-2.3.1/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/omeka-...')
#7 /var/www/omeka-2.3.1/application/libraries/Zend/View/Helper/Partial.php(109): Zend_View_Abstract->render('common/header.p...')
#8 [internal function]: Zend_View_Helper_Partial->partial('common/header.p...', Array)
#9 /var/www/omeka-2.3.1/application/libraries/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#10 /var/www/omeka-2.3.1/application/libraries/globals.php(1627): Zend_View_Abstract->__call('partial', Array)
#11 /var/www/omeka-2.3.1/application/libraries/globals.php(1627): Omeka_View->partial('common/header.p...', Array)
#12 /var/www/omeka-2.3.1/application/libraries/globals.php(1641): common('header', Array)
#13 /var/www/omeka-2.3.1/themes/seasons/items/show.php(1): head(Array)
#14 /var/www/omeka-2.3.1/application/libraries/Omeka/View.php(117): include('/var/www/omeka-...')
#15 /var/www/omeka-2.3.1/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/omeka-...')
#16 /var/www/omeka-2.3.1/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(905): Zend_View_Abstract->render('items/show.php')
#17 /var/www/omeka-2.3.1/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(926): Zend_Controller_Action_Helper_ViewRenderer->renderScript('items/show.php', NULL)
#18 /var/www/omeka-2.3.1/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(965): Zend_Controller_Action_Helper_ViewRenderer->render()
#19 /var/www/omeka-2.3.1/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#20 /var/www/omeka-2.3.1/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#21 /var/www/omeka-2.3.1/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('showAction')
#22 /var/www/omeka-2.3.1/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#23 /var/www/omeka-2.3.1/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#24 /var/www/omeka-2.3.1/application/libraries/Zend/Application.php(382): Zend_Application_Bootstrap_Bootstrap->run()
#25 /var/www/omeka-2.3.1/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#26 /var/www/omeka-2.3.1/index.php(23): Omeka_Application->run()
#27 {main}