Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError AdvancedSearch\Module::createDefaultSearchConfig() #11

Closed
adehner opened this issue Jan 23, 2024 · 1 comment
Closed

TypeError AdvancedSearch\Module::createDefaultSearchConfig() #11

adehner opened this issue Jan 23, 2024 · 1 comment

Comments

@adehner
Copy link

adehner commented Jan 23, 2024

I'm unable to install Advanced Search 3.4.18 on a fresh install of Omeka S version 4.0.4. When attempting to install Advanced Search 3.4.16, 3.4.17 and 3.4.18 I get the error below.

TypeError
AdvancedSearch\Module::createDefaultSearchConfig(): Return value must be of type int, string returned

Details:

TypeError: AdvancedSearch\Module::createDefaultSearchConfig(): Return value must be of type int, string returned in /omekas/modules/AdvancedSearch/Module.php:1314
Stack trace:
#0 /omekas/modules/AdvancedSearch/Module.php(1195): AdvancedSearch\Module->createDefaultSearchConfig()
#1 /omekas/nwdh/modules/AdvancedSearch/Module.php(166): AdvancedSearch\Module->installResources()
#2 /omekas/modules/Common/TraitModule.php(99): AdvancedSearch\Module->postInstall()
#3 /omekas/application/src/Module/Manager.php(226): AdvancedSearch\Module->install(Object(Laminas\ServiceManager\ServiceManager))
#4 /omekas/application/src/Controller/Admin/ModuleController.php(117): Omeka\Module\Manager->install(Object(Omeka\Module\Module))
#5 /omekas/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(71): Omeka\Controller\Admin\ModuleController->installAction()
#6 /omekas/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\Mvc\Controller\AbstractActionController->onDispatch(Object(Laminas\Mvc\MvcEvent))
#7 /omekas/vendor/laminas/laminas-eventmanager/src/EventManager.php(179): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
#8 /omekas/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(97): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
#9 /omekas/vendor/laminas/laminas-mvc/src/DispatchListener.php(132): Laminas\Mvc\Controller\AbstractController->dispatch(Object(Laminas\Http\PhpEnvironment\Request), Object(Laminas\Http\PhpEnvironment\Response))
#10 /omekas/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\Mvc\DispatchListener->onDispatch(Object(Laminas\Mvc\MvcEvent))
#11 /omekas/nwdh/vendor/laminas/laminas-eventmanager/src/EventManager.php(179): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
#12 /omekas/vendor/laminas/laminas-mvc/src/Application.php(325): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
#13 /omekas/index.php(21): Laminas\Mvc\Application->run()
#14 {main}

Installed and active modules are:
Common 3.4.47
Reference 3.4.47

Theme:
Default

@adehner
Copy link
Author

adehner commented Jan 31, 2024

This has been resolved with 3.4.20
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant