Solr and Exhibit pages

This is sort of a weird issue. I’m using the BGSU fork of the SolrSearch plug - GitHub - BGSU-LITS/SolrSearch: Add a Solr-backed search interface to Omeka.. It works great, except I get an error when searching for a word that also appears in an Exhibit title. So if I had an Exhibit titled “Korean War” and did a search for that, the error below would pop up. Can anyone help?

BadMethodCallException: Method named getElementTexts() does not exist. in /storage/omeka/site/application/libraries/Omeka/Record/AbstractRecord.php:261

Stack trace:

#0 /storage/omeka/site/application/libraries/Omeka/Record/AbstractRecord.php(211): Omeka_Record_AbstractRecord->delegateToMixins(‘getElementTexts’, Array)

#1 /storage/omeka/site/application/views/helpers/Metadata.php(183): Omeka_Record_AbstractRecord->__call(‘getElementTexts’, Array)

#2 /storage/omeka/site/application/views/helpers/Metadata.php(149): Omeka_View_Helper_Metadata->_getElementText(Object(Exhibit), ‘Dublin Core’, ‘Description’)

#3 /storage/omeka/site/application/views/helpers/Metadata.php(73): Omeka_View_Helper_Metadata->_getText(Object(Exhibit), Array)

#4 /storage/omeka/site/application/libraries/Zend/View/Abstract.php(349): Omeka_View_Helper_Metadata->metadata(Object(Exhibit), Array, Array)

#5 /storage/omeka/site/application/libraries/globals.php(2041): Zend_View_Abstract->__call(‘metadata’, Array)

#6 /storage/omeka/site/plugins/SolrSearch/views/shared/results/index.php(139): metadata(Object(Exhibit), Array, Array)

#7 /storage/omeka/site/application/libraries/Omeka/View.php(114): include(‘/storage/omeka/…’)

#8 /storage/omeka/site/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run(‘/storage/omeka/…’)

#9 /storage/omeka/site/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(912): Zend_View_Abstract->render(NULL)

#10 /storage/omeka/site/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(933): Zend_Controller_Action_Helper_ViewRenderer->renderScript(‘results/index.p…’, NULL)

#11 /storage/omeka/site/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(972): Zend_Controller_Action_Helper_ViewRenderer->render()

#12 /storage/omeka/site/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()

#13 /storage/omeka/site/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()

#14 /storage/omeka/site/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(‘indexAction’)

#15 /storage/omeka/site/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))

#16 /storage/omeka/site/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()

#17 /storage/omeka/site/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()

#18 /storage/omeka/site/application/libraries/Omeka/Application.php(73): Zend_Application->run()

#19 /storage/omeka/site/index.php(23): Omeka_Application->run()

#20 {main}

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