Forums » Omeka_Record_Exception

RSS feed for this topic

Info

  1. When trying to view an item we get the following error:
    Omeka_Record_Exception
    There is no element named 'Translation'!

    xception 'Omeka_Record_Exception' with message 'There is no element named 'Translation'!' in /home/vfc/vermontfolklifecenter.org/irene/stories/application/models/ActsAsElementText.php:322
    Stack trace:
    #0 /home/vfc/vermontfolklifecenter.org/irene/stories/application/models/ActsAsElementText.php(238): ActsAsElementText->getElementByNameAndSetName('Translation', 'Item Type Metad...')
    #1 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Omeka/Record.php(247): ActsAsElementText->getElementTextsByElementNameAndSetName('Translation', 'Item Type Metad...')
    #2 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Omeka/Record.php(205): Omeka_Record->delegateToMixins(Array, Array)
    #3 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Omeka/View/Helper/RecordMetadata.php(201): Omeka_Record->__call('getElementTexts...', Array)
    #4 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Omeka/View/Helper/RecordMetadata.php(201): Item->getElementTextsByElementNameAndSetName('getElementTexts...', Array)
    #5 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Omeka/View/Helper/RecordMetadata.php(174): Omeka_View_Helper_RecordMetadata->_getElementText('Translation', 'Item Type Metad...')
    #6 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Omeka/View/Helper/RecordMetadata.php(83): Omeka_View_Helper_RecordMetadata->_getText(Object(Item), 'Item Type Metad...', 'Translation')
    #7 /home/vfc/vermontfolklifecenter.org/irene/stories/application/helpers/ItemMetadata.php(29): Omeka_View_Helper_RecordMetadata->_get(Object(Item), 'Item Type Metad...', 'Translation')
    #8 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Zend/View/Abstract.php(340): Omeka_View_Helper_ItemMetadata->itemMetadata(Object(Item), 'Item Type Metad...', 'Translation', Array)
    #9 /home/vfc/vermontfolklifecenter.org/irene/stories/application/helpers/ItemFunctions.php(213): Zend_View_Abstract->__call(Object(Item), 'Item Type Metad...', 'Translation', Array)
    #10 /home/vfc/vermontfolklifecenter.org/irene/stories/application/helpers/ItemFunctions.php(213): Omeka_View->itemMetadata(Array, Array)
    #11 /home/vfc/vermontfolklifecenter.org/irene/stories/themes/autumn/items/show.php(32): item()
    #12 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Omeka/View.php(112): include('/home/vfc/vermo...')
    #13 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Zend/View/Abstract.php(831): Omeka_View->_run('itemMetadata', Array)
    #14 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(903): Zend_View_Abstract->render(Object(Item), 'Item Type Metad...', 'Translation', Array)
    #15 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(924): Zend_Controller_Action_Helper_ViewRenderer->renderScript('Item Type Metad...', 'Translation')
    #16 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(963): Zend_Controller_Action_Helper_ViewRenderer->render('/home/vfc/vermo...')
    #17 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch('items/show.php')
    #18 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Zend/Controller/Action.php(523): Zend_Controller_Action_HelperBroker->notifyPostDispatch('items/show.php', NULL)
    #19 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch()
    #20 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch()
    #21 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(77): Zend_Controller_Front->dispatch()
    #22 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Zend/Application.php(358): Zend_Application_Bootstrap_Bootstrap->run('showAction')
    #23 /home/vfc/vermontfolklifecenter.org/irene/stories/application/libraries/Omeka/Core.php(157): Zend_Application->run(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
    #24 /home/vfc/vermontfolklifecenter.org/irene/stories/index.php(30): Omeka_Core->run()
    #25 {main}

    I believe there were some item types deleted (one of which included the element 'Translation'). When I check the omeka admin, the item types and elements do not appear, when I check the database they do appear. Should I remove them from the sql db manually?

    Thanks for the help.
    -Winona

  2. What's on line 32 of your "autumn" theme's items/show.php page?

    It's possible that your theme still references this element, even though it's been deleted.

Reply

You must log in to post.