Omeka API Import - status: completed but no import

I run two instances of omeka - one for production and one for student work. Occasionally, I’ve used the API import to bring student work into the production instance. The last import I did was last spring when the two instances were on a different server.

Now the API import runs and shows: “Status: completed” Click here to update status.

However, the import does not import anything. Usually, I’m just importing an individual item like this:
http://archives.library.wcsu.edu/studentOmeka/api/items/102

I had disabled the collection tree plugin as instructed.

Any ideas?

Do you have logging enabled? The importer will log errors it encountered to the main Omeka error log.

Yes. But I didn’t see any errors coming from the plugin.

This is the error:
2019-04-18T09:38:00-04:00 ERR (3): exception ‘Omeka_Record_Exception’ with message ‘Invalid search type given!’ in /var/www/html/omeka/application/models/Table/Item.php:144
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(433): 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 [internal function]: Omeka_Db_Table->findBy(Array, 10, 1)
#5 /var/www/html/omeka/application/controllers/helpers/Db.php(59): call_user_func_array(Array, Array)
#6 /var/www/html/omeka/application/libraries/Omeka/Controller/AbstractActionController.php(128): Omeka_Controller_Action_Helper_Db->__call(‘findBy’, Array)
#7 /var/www/html/omeka/application/libraries/Omeka/Controller/AbstractActionController.php(128): Omeka_Controller_Action_Helper_Db->findBy(Array, 10, 1)
#8 /var/www/html/omeka/application/controllers/ItemsController.php(176): Omeka_Controller_AbstractActionController->browseAction()
#9 /var/www/html/omeka/application/libraries/Zend/Controller/Action.php(516): ItemsController->browseAction()
#10 /var/www/html/omeka/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch(‘browseAction’)
#11 /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))
#12 /var/www/html/omeka/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#13 /var/www/html/omeka/application/libraries/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
#14 /var/www/html/omeka/application/libraries/Omeka/Application.php(73): Zend_Application->run()
#15 /var/www/html/omeka/index.php(23): Omeka_Application->run()
#16 {main}

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