Full Omeka S error after IIIFPreview installation via EasyAdmin

Hey everyone,

I just tried to install the IIIFPreview module via EasyAdmin and it created an error that took down the whole Omeka S instance. Is there a way how to manually revert the module installation or any ideas how to fix this? (just manually removing the module directory from the server doesn’t help and just changes the error message) Apparently, also the Generic module got to do something with the problem? I’m really lost here and would appreciate help on this a lot. Thanks in advance to everyone who might be able to help.

Deprecated: Return type of Doctrine\DBAL\Statement::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/omeka/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php on line 322

Deprecated: Return type of Doctrine\DBAL\Driver\PDOConnection::exec($sql) should either be compatible with PDO::exec(string $statement): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/omeka/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 50

Deprecated: Return type of Doctrine\DBAL\Driver\PDOConnection::lastInsertId($name = null) should either be compatible with PDO::lastInsertId(?string $name = null): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/omeka/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 99

Deprecated: Return type of Doctrine\DBAL\Driver\PDOConnection::prepare($sql, $driverOptions = []) should either be compatible with PDO::prepare(string $query, array $options = []): PDOStatement|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/omeka/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 76

Deprecated: Return type of Doctrine\DBAL\Driver\PDOConnection::quote($value, $type = Doctrine\DBAL\ParameterType::STRING) should either be compatible with PDO::quote(string $string, int $type = PDO::PARAM_STR): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/omeka/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 91

Deprecated: Return type of Doctrine\DBAL\Driver\PDOQueryImplementation::query(?string $query = null, ?int $fetchMode = null, mixed ...$fetchModeArgs) should either be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs): PDOStatement|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/omeka/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOQueryImplementation.php on line 20

Deprecated: Return type of Doctrine\DBAL\Driver\PDOStatement::bindParam($param, &$variable, $type = Doctrine\DBAL\ParameterType::STRING, $length = null, $driverOptions = null) should either be compatible with PDOStatement::bindParam(string|int $param, mixed &$var, int $type = PDO::PARAM_STR, int $maxLength = 0, mixed $driverOptions = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/omeka/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 79

Deprecated: Return type of Doctrine\DBAL\Driver\PDOStatement::bindValue($param, $value, $type = Doctrine\DBAL\ParameterType::STRING) should either be compatible with PDOStatement::bindValue(string|int $param, mixed $value, int $type = PDO::PARAM_STR): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/omeka/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 59

Deprecated: Return type of Doctrine\DBAL\Driver\PDOStatement::closeCursor() should either be compatible with PDOStatement::closeCursor(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/omeka/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 95

Deprecated: Return type of Doctrine\DBAL\Driver\PDOStatement::execute($params = null) should either be compatible with PDOStatement::execute(?array $params = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/omeka/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 109

Deprecated: Return type of Doctrine\DBAL\Driver\PDOStatement::fetch($fetchMode = null, $cursorOrientation = PDO::FETCH_ORI_NEXT, $cursorOffset = 0) should either be compatible with PDOStatement::fetch(int $mode = PDO::FETCH_DEFAULT, int $cursorOrientation = PDO::FETCH_ORI_NEXT, int $cursorOffset = 0): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/omeka/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 123

Deprecated: Return type of Doctrine\DBAL\Driver\PDOStatement::fetchColumn($columnIndex = 0) should either be compatible with PDOStatement::fetchColumn(int $column = 0): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/omeka/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 143

Deprecated: Return type of Doctrine\DBAL\Driver\PDOStatementImplementations::fetchAll($mode = null, ...$args) should either be compatible with PDOStatement::fetchAll(int $mode = PDO::FETCH_DEFAULT, mixed ...$args): array, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/omeka/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatementImplementations.php on line 36

Warning: include(/var/www/html/omeka/modules/IiifPreview/config/module.config.php): Failed to open stream: No such file or directory in /var/www/html/omeka/modules/Generic/AbstractModule.php on line 57

Warning: include(): Failed opening '/var/www/html/omeka/modules/IiifPreview/config/module.config.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/omeka/modules/Generic/AbstractModule.php on line 57
Omeka S encountered an error
Laminas\ModuleManager\Listener\Exception\InvalidArgumentException
Config being merged must be an array, implement the Traversable interface, or be an instance of Laminas\Config\Config. boolean given.

Details:

Laminas\ModuleManager\Listener\Exception\InvalidArgumentException: Config being merged must be an array, implement the Traversable interface, or be an instance of Laminas\Config\Config. boolean given. in /var/www/html/omeka/vendor/laminas/laminas-modulemanager/src/Listener/ConfigListener.php:330
Stack trace:
#0 /var/www/html/omeka/vendor/laminas/laminas-modulemanager/src/Listener/ConfigListener.php(123): Laminas\ModuleManager\Listener\ConfigListener->addConfig()
#1 /var/www/html/omeka/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\ModuleManager\Listener\ConfigListener->onLoadModule()
#2 /var/www/html/omeka/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\EventManager\EventManager->triggerListeners()
#3 /var/www/html/omeka/vendor/laminas/laminas-modulemanager/src/ModuleManager.php(180): Laminas\EventManager\EventManager->triggerEvent()
#4 /var/www/html/omeka/vendor/laminas/laminas-modulemanager/src/ModuleManager.php(96): Laminas\ModuleManager\ModuleManager->loadModule()
#5 /var/www/html/omeka/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\ModuleManager\ModuleManager->onLoadModules()
#6 /var/www/html/omeka/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\EventManager\EventManager->triggerListeners()
#7 /var/www/html/omeka/vendor/laminas/laminas-modulemanager/src/ModuleManager.php(119): Laminas\EventManager\EventManager->triggerEvent()
#8 /var/www/html/omeka/application/src/Mvc/Application.php(34): Laminas\ModuleManager\ModuleManager->loadModules()
#9 /var/www/html/omeka/index.php(19): Omeka\Mvc\Application::init()
#10 {main}