Search functionality on root of Omeka-S

In the root of the site is a search bar. After searching objects and clicking on “View all results” also an option for “Advanced Search” is shown to the user.
After clicking this link, an error message is shown.
In debug mode the following stack is shown.

Omeka S encountered an error

Omeka\Service\Exception\RuntimeException
Cannot manage settings when no target ID is set.

Details:

Omeka\Service\Exception\RuntimeException: Cannot manage settings when no target ID is set. in /var/www/html/application/src/Settings/AbstractTargetSettings.php:97 Stack trace: #0 /var/www/html/application/src/Settings/AbstractSettings.php(152): Omeka\Settings\AbstractTargetSettings->setCache() #1 /var/www/html/application/src/Settings/AbstractSettings.php(96): Omeka\Settings\AbstractSettings->cache()

Can anybody else confirm this issue?

1 Like

The same error is also generated on the Omeka S sandbox hosted at dev.omeka.org so I assume that this issue is occurring at all Omeka S instances worldwide.

URL that triggers the error
https://dev.omeka.org/omeka-s-sandbox/search/items-advanced?fulltext_search=test&sort_by=created&sort_order=desc&page=1

Steps to trigger the error

  1. Go to item search on the Omeka index page: Omeka S Sandbox
  2. Click on “Advanced item search”.

This already triggers the error. There is no need to actually enter a search value.

Thanks for your report.

We’ve checked into the problem and can confirm it exists, and we’ve written a fix.

1 Like

@jflatnes and @mcoonen : Thanks!

Hello, I am also getting this error. Can you tell me what the solution is? I am using version 4.0.1.