Strange error log messages

Hi all;

in looking through or omeka error log for a different problem, I discovered some strange and very persistent error log messages I can’t parse. These are very frequent, being logged several times an hour. We haven’t noticed anything wrong with the actual behavior of the system, but I’d still like to know what they mean. they look like this:

2020-12-02T06:27:52+00:00 ERR (3): Omeka_Record_Exception: Invalid search type given! in /var/www/html/omeka/application/models/Table/Item.php:143

Stack trace:

#0 /var/www/html/omeka/application/models/Table/Item.php(28): Table_Item->_advancedSearch(Object(Omeka_Db_Select), Array)

#1 /var/www/html/omeka/application/models/Table/Item.php(432): Table_Item->filterBySearch(Object(Omeka_Db_Select), Array)

#2 /var/www/html/omeka/application/libraries/Omeka/Db/Table.php(323): Table_Item->applySearchFilters(Object(Omeka_Db_Select), Array)

#3 /var/www/html/omeka/application/libraries/Omeka/Db/Table.php(277): Omeka_Db_Table->getSelectForFindBy(Array)

#4 /var/www/html/omeka/application/controllers/helpers/Db.php(59): Omeka_Db_Table->findBy(Array, 12, 1)

#5 /var/www/html/omeka/application/libraries/Omeka/Controller/AbstractActionController.php(128): Omeka_Controller_Action_Helper_Db->__call(‘findBy’, Array)

#6 /var/www/html/omeka/application/controllers/ItemsController.php(180): Omeka_Controller_AbstractActionController->browseAction()

#7 /var/www/html/omeka/application/libraries/Zend/Controller/Action.php(516): ItemsController->browseAction()

#8 /var/www/html/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(‘browseAction’)

#9 /var/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))

#10 /var/www/html/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()

#11 /var/www/html/omeka/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()

#12 /var/www/html/omeka/application/libraries/Omeka/Application.php(73): Zend_Application->run()

#13 /var/www/html/omeka/index.php(23): Omeka_Application->run()

#14 {main}

2020-12-02T06:27:53+00:00 ERR (3): Zend_Controller_Action_Exception: Context “omeka-json” does not exist in /var/www/html/omeka/application/libraries/Zend/Controller/Action/Helper/ContextSwitch.php:532

Stack trace:

#0 /var/www/html/omeka/application/libraries/Zend/Controller/Action/Helper/ContextSwitch.php(1239): Zend_Controller_Action_Helper_ContextSwitch->hasContext(‘omeka-json’, true)

#1 /var/www/html/omeka/application/libraries/Zend/Controller/Action/Helper/ContextSwitch.php(257): Zend_Controller_Action_Helper_ContextSwitch->hasActionContext(‘browse’, ‘omeka-json’)

#2 /var/www/html/omeka/application/libraries/Omeka/Controller/AbstractActionController.php(475): Zend_Controller_Action_Helper_ContextSwitch->initContext()

#3 /var/www/html/omeka/application/libraries/Omeka/Controller/AbstractActionController.php(72): Omeka_Controller_AbstractActionController->_setActionContexts()

#4 /var/www/html/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(281): Omeka_Controller_AbstractActionController->__construct(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array)

#5 /var/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))

#6 /var/www/html/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()

#7 /var/www/html/omeka/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()

#8 /var/www/html/omeka/application/libraries/Omeka/Application.php(73): Zend_Application->run()

#9 /var/www/html/omeka/index.php(23): Omeka_Application->run()

#10 {main}

So, those errors are probably coming from bots or crawlers accessing your site with invalid URLs. Since those are errors, we log them, but they don’t really indicate a problem.

thanks, that sets my mind at ease.

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