Contao 5.3.9
(war ein Update von 4.13.44 auf 5.3.9)
Visitors 1.12.1
lokale Installation unter Laragon
Backend Aufruf von Besucherstatistik bringt: Warning: Trying to access array offset on value of type null
Stack Trace
ErrorException:
Warning: Trying to access array offset on value of type null
at C:\laragon\www\horn-ist-vorn\vendor\bugbuster\contao-visitors-bundle\src\Resources\contao\classes\ModuleVisitorStatEventsCounter.php:135
at BugBuster\Visitors\ModuleVisitorStatEventsCounter->generateEventsVisitHitTop(1, 20, true)
(C:\laragon\www\horn-ist-vorn\vendor\bugbuster\contao-visitors-bundle\src\Resources\contao\modules\ModuleVisitorStat.php:250)
at BugBuster\Visitors\ModuleVisitorStat->compile()
(C:\laragon\www\horn-ist-vorn\vendor\contao\core-bundle\contao\classes\BackendModule.php:80)
at Contao\BackendModule->generate()
(C:\laragon\www\horn-ist-vorn\vendor\contao\core-bundle\contao\classes\Backend.php:314)
at Contao\Backend->getBackendModule('visitorstat', null)
(C:\laragon\www\horn-ist-vorn\vendor\contao\core-bundle\contao\controllers\BackendMain.php:144)
at Contao\BackendMain->run()
(C:\laragon\www\horn-ist-vorn\vendor\contao\core-bundle\src\Controller\BackendController.php:44)
at Contao\CoreBundle\Controller\BackendController->mainAction()
(C:\laragon\www\horn-ist-vorn\vendor\symfony\http-kernel\HttpKernel.php:181)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(C:\laragon\www\horn-ist-vorn\vendor\symfony\http-kernel\HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(C:\laragon\www\horn-ist-vorn\vendor\symfony\http-kernel\Kernel.php:197)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(C:\laragon\www\horn-ist-vorn\public\index.php:42)
meine Anpassung in der ModuleVisitorStatEventsCounter.php:135
if (isset($aliases['PageAlias']) && false !== $aliases['PageAlias'])
lässt mich ohne Warnung weiter kommen.
Contao 5.3.9 (war ein Update von 4.13.44 auf 5.3.9) Visitors 1.12.1 lokale Installation unter Laragon
Backend Aufruf von
Besucherstatistik
bringt:Warning: Trying to access array offset on value of type null
Stack Trace
meine Anpassung in der ModuleVisitorStatEventsCounter.php:135
if (isset($aliases['PageAlias']) && false !== $aliases['PageAlias'])
lässt mich ohne Warnung weiter kommen.