Fatal error: Uncaught TypeError: strtolower(): Argument #1 ($string) must be of type string, array given in /var/www/webroot/ROOT/custom/plugins/EnnoSuchausschluss/Subscriber/TemplateRegistration.php:64
Stack trace:
#0 /var/www/webroot/ROOT/custom/plugins/EnnoSuchausschluss/Subscriber/TemplateRegistration.php(64): strtolower(Array)
#1 /var/www/webroot/ROOT/engine/Library/Enlight/Event/Handler/Default.php(90): EnnoSuchausschluss\Subscriber\TemplateRegistration->onPostDispatchFrontendSearch(Object(Enlight_Controller_ActionEventArgs))
#2 /var/www/webroot/ROOT/engine/Library/Enlight/Event/EventManager.php(207): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#3 /var/www/webroot/ROOT/engine/Library/Enlight/Controller/Action.php(220): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#4 /var/www/webroot/ROOT/engine/Library/Enlight/Controller/Dispatcher/Default.php(467): Enlight_Controller_Action->dispatch('defaultSearchAc...')
#5 /var/www/webroot/ROOT/engine/Library/Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#6 /var/www/webroot/ROOT/engine/Shopware/Kernel.php(195): Enlight_Controller_Front->dispatch()
#7 /var/www/webroot/ROOT/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#8 /var/www/webroot/ROOT/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true)
#9 /var/www/webroot/ROOT/engine/Shopware/Components/HttpCache/AppCache.php(270): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#10 /var/www/webroot/ROOT/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#11 /var/www/webroot/ROOT/vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true)
#12 /var/www/webroot/ROOT/engine/Shopware/Components/HttpCache/AppCache.php(196): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#13 /var/www/webroot/ROOT/vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#14 /var/www/webroot/ROOT/engine/Shopware/Components/HttpCache/AppCache.php(117): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 /var/www/webroot/ROOT/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#16 {main}
thrown in /var/www/webroot/ROOT/custom/plugins/EnnoSuchausschluss/Subscriber/TemplateRegistration.php on line 64