Error when i open "Omeka-S-module-Statistics"

2022-09-14T07:29:08+00:00 ERR (3): Laminas\ServiceManager\Exception\ServiceNotFoundException: A plugin by the name “AdvancedSearch\Controller\IndexControllers” was not found in the plugin manager Omeka\Api\Adapter\Manager in /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-servicemanager/src/AbstractPluginManager.php:143
Stack trace:
#0 /srv/http/omeka-s-3.2.3/application/src/Api/Representation/AbstractRepresentation.php(45): Laminas\ServiceManager\AbstractPluginManager->get()
#1 /srv/http/omeka-s-3.2.3/application/src/Api/Representation/AbstractResourceRepresentation.php(128): Omeka\Api\Representation\AbstractRepresentation->getAdapter()
#2 /srv/http/omeka-s-3.2.3/modules/Statistics/src/Api/Representation/StatRepresentation.php(174): Omeka\Api\Representation\AbstractResourceRepresentation->getAdapter()
#3 /srv/http/omeka-s-3.2.3/modules/Statistics/view/statistics/admin/summary/index.phtml(108): Statistics\Api\Representation\StatRepresentation->entityResource()
#4 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php(505): include(’…’)
#5 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-view/src/View.php(206): Laminas\View\Renderer\PhpRenderer->render()
#6 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-view/src/View.php(235): Laminas\View\View->render()
#7 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-view/src/View.php(199): Laminas\View\View->renderChildren()
#8 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php(104): Laminas\View\View->render()
#9 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\Mvc\View\Http\DefaultRenderingStrategy->render()
#10 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-eventmanager/src/EventManager.php(170): Laminas\EventManager\EventManager->triggerListeners()
#11 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-mvc/src/Application.php(366): Laminas\EventManager\EventManager->triggerEvent()
#12 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-mvc/src/Application.php(347): Laminas\Mvc\Application->completeRequest()
#13 /srv/http/omeka-s-3.2.3/index.php(21): Laminas\Mvc\Application->run()

The issue is probably fixed, but what are your versions of modules AdvancedSearch and Statistics?

Hi Daniel,

we have this modules:

  • AdvancedSearch ver. 3.3.6.15
  • Statistics ver. 3.3.4.2-beta2

Ciao Angelo

Now we have:

AdvancedSearch ver. 3.3.6.17
Statistics ver. 3.3.5

with this error:
2022-09-29T10:59:16+00:00 ERR (3): Error: Failed opening required ‘/srv/http/omeka-s-3.2.3/modules/Statistics/src/Controller/…/…/vendor/autoload.php’ (include_path=’.:’) in /srv/http/omeka-s-3.2.3/modules/Statistics/src/Controller/StatisticsController.php:5
Stack trace:
#0 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-loader/src/StandardAutoloader.php(304): include()
#1 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-loader/src/StandardAutoloader.php(215): Laminas\Loader\StandardAutoloader->loadClass()
#2 /srv/http/omeka-s-3.2.3/modules/Statistics/src/Service/Controller/StatisticsControllerFactory.php(19): Laminas\Loader\StandardAutoloader->autoload()
#3 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(765): Statistics\Service\Controller\StatisticsControllerFactory->__invoke()
#4 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-servicemanager/src/ServiceManager.php(201): Laminas\ServiceManager\ServiceManager->doCreate()
#5 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-servicemanager/src/AbstractPluginManager.php(153): Laminas\ServiceManager\ServiceManager->get()
#6 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-mvc/src/DispatchListener.php(103): Laminas\ServiceManager\AbstractPluginManager->get()
#7 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-eventmanager/src/EventManager.php(321): Laminas\Mvc\DispatchListener->onDispatch()
#8 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-eventmanager/src/EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners()
#9 /srv/http/omeka-s-3.2.3/vendor/laminas/laminas-mvc/src/Application.php(331): Laminas\EventManager\EventManager->triggerEventUntil()
#10 /srv/http/omeka-s-3.2.3/index.php(21): Laminas\Mvc\Application->run()
#11 {main} {“userId”:1}

Here, for statistics, you have the version without composer packages.
I just published a fix anyway, version 3.3.5.1.

Hi Daniel,

now work fine, thank you for all.

Ciao Angelo

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