Mirador viewer not install

Hello,
@Daniel_KM, when we try to install the Mirador viewer we generate this error:
TypeError: Return value of Generic\AbstractModule::checklNewTablesFromFile() must be of the type bool, null returned in /var/www/html/modules/Generic/AbstractModule.php:288
Stack trace:
#0 /var/www/html/modules/Generic/AbstractModule.php(85): Generic\AbstractModule->checklNewTablesFromFile()
#1 /var/www/html/application/src/Module/Manager.php(240): Generic\AbstractModule->install()
#2 /var/www/html/application/src/Controller/Admin/ModuleController.php(117): Omeka\Module\Manager->install()
#3 /var/www/html/vendor/laminas/laminas-mvc/src/Controller/AbstractActionController.php(77): Omeka\Controller\Admin\ModuleController->installAction()
#4 /var/www/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\Mvc\Controller\AbstractActionController->onDispatch()
#5 /var/www/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners()
#6 /var/www/html/vendor/laminas/laminas-mvc/src/Controller/AbstractController.php(103): Laminas\EventManager\EventManager->triggerEventUntil()
#7 /var/www/html/vendor/laminas/laminas-mvc/src/DispatchListener.php(139): Laminas\Mvc\Controller\AbstractController->dispatch()
#8 /var/www/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\Mvc\DispatchListener->onDispatch()
#9 /var/www/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners()
#10 /var/www/html/vendor/laminas/laminas-mvc/src/Application.php(331): Laminas\EventManager\EventManager->triggerEventUntil()
#11 /var/www/html/index.php(21): Laminas\Mvc\Application->run()
#12 {main}

Omeka-s version:3.1.0
the following modules are installed and activated:
Generic module version 3.3.32
IIIF Server version 3.6.6.3
Image Server version 3.6.9.3

Can you help us? Thanks

Hi,
Indeed there is a strict type issue in the last version of Generic, i’ll published a new release Monday.
You can fix it here:
AbstractModule.php · master · Daniel-KM / Omeka-S-module-Generic · GitLab,
replacing return null; by return true;

1 Like

The fix is in version 3.3.33 of module Generic.

thank you !my mirador now works

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