Error message associated with items

I’m having some error messages when I click on items that have been uploaded. Oddly enough, the images work fine when I don’t have any plugins active.

Here’s the error that I’m getting in my Error Log:
2019-10-07T20:26:04+00:00 ERR (3): Omeka_Record_Exception: There is no element “Item Type Metadata”, “Player”! in /home/hayes29/public_html/omeka-2.7/application/models/Mixin/ElementText.php:292
Stack trace:
#0 /home/hayes29/public_html/omeka-2.7/application/models/Mixin/ElementText.php(213): Mixin_ElementText->getElement(‘Item Type Metad…’, ‘Player’)
#1 /home/hayes29/public_html/omeka-2.7/application/libraries/Omeka/Record/AbstractRecord.php(254): Mixin_ElementText->getElementTexts(‘Item Type Metad…’, ‘Player’)
#2 /home/hayes29/public_html/omeka-2.7/application/libraries/Omeka/Record/AbstractRecord.php(211): Omeka_Record_AbstractRecord->delegateToMixins(‘getElementTexts’, Array)
#3 /home/hayes29/public_html/omeka-2.7/application/views/helpers/Metadata.php(183): Omeka_Record_AbstractRecord->__call(‘getElementTexts’, Array)
#4 /home/hayes29/public_html/omeka-2.7/application/views/helpers/Metadata.php(149): Omeka_View_Helper_Metadata->_getElementText(Object(Item), ‘Item Type Metad…’, ‘Player’)
#5 /home/hayes29/public_html/omeka-2.7/application/views/helpers/Metadata.php(73): Omeka_View_Helper_Metadata->_getText(Object(Item), Array)
#6 /home/hayes29/public_html/omeka-2.7/application/libraries/Zend/View/Abstract.php(349): Omeka_View_Helper_Metadata->metadata(Object(Item), Array, Array)
#7 /home/hayes29/public_html/omeka-2.7/application/libraries/globals.php(2042): Zend_View_Abstract->__call(‘metadata’, Array)
#8 /home/hayes29/public_html/omeka-2.7/plugins/YouTubeImport/YouTubeImportPlugin.php(68): metadata(Object(Item), Array)
#9 /home/hayes29/public_html/omeka-2.7/application/libraries/Omeka/Plugin/Broker.php(268): YouTubeImportPlugin->filterDisplayElements(Array)
#10 /home/hayes29/public_html/omeka-2.7/application/libraries/globals.php(324): Omeka_Plugin_Broker->applyFilters(‘display_element…’, Array, Array)
#11 /home/hayes29/public_html/omeka-2.7/application/views/helpers/AllElementTexts.php(158): apply_filters(‘display_element…’, Array)
#12 /home/hayes29/public_html/omeka-2.7/application/views/helpers/AllElementTexts.php(232): Omeka_View_Helper_AllElementTexts->_getElementsBySet()
#13 /home/hayes29/public_html/omeka-2.7/application/views/helpers/AllElementTexts.php(298): Omeka_View_Helper_AllElementTexts->_getOutputAsHtml()
#14 /home/hayes29/public_html/omeka-2.7/application/views/helpers/AllElementTexts.php(94): Omeka_View_Helper_AllElementTexts->_getOutput()
#15 /home/hayes29/public_html/omeka-2.7/application/libraries/Zend/View/Abstract.php(349): Omeka_View_Helper_AllElementTexts->allElementTexts(Object(Item), Array)
#16 /home/hayes29/public_html/omeka-2.7/application/libraries/globals.php(2057): Zend_View_Abstract->__call(‘allElementTexts’, Array)
#17 /home/hayes29/public_html/omeka-2.7/admin/themes/default/items/show.php(22): all_element_texts(‘item’)
#18 /home/hayes29/public_html/omeka-2.7/application/libraries/Omeka/View.php(114): include(’/home/hayes29/p…’)
#19 /home/hayes29/public_html/omeka-2.7/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run(’/home/hayes29/p…’)
#20 /home/hayes29/public_html/omeka-2.7/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render(NULL)
#21 /home/hayes29/public_html/omeka-2.7/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript(‘items/show.php’, NULL)
#22 /home/hayes29/public_html/omeka-2.7/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render()
#23 /home/hayes29/public_html/omeka-2.7/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#24 /home/hayes29/public_html/omeka-2.7/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#25 /home/hayes29/public_html/omeka-2.7/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(‘showAction’)
#26 /home/hayes29/public_html/omeka-2.7/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#27 /home/hayes29/public_html/omeka-2.7/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#28 /home/hayes29/public_html/omeka-2.7/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#29 /home/hayes29/public_html/omeka-2.7/application/libraries/Omeka/Application.php(73): Zend_Application->run()
#30 /home/hayes29/public_html/omeka-2.7/admin/index.php(28): Omeka_Application->run()
#31 {main}

Thanks for any help!

This is an issue with the Youtube Import plugin.

Perhaps you deleted the “Player” element which the plugin needs to work?

Thanks for the quick reply!
I’m not certain what happened to the YouTube plugin, but honestly, it’s not key to my efforts, so I’ve just deactivated it and it looks like everything is working fine again. I appreciate your help.

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.