Fatal error: Uncaught Error: Call to a member function toArray() on null in /usr/www/users/sandnh/shopware.sandner-collection.com/custom/plugins/OmegaSandner/Subscriber/SearchBundleSubscriber.php:64
Stack trace:
#0 /usr/www/users/sandnh/shopware.sandner-collection.com/engine/Library/Enlight/Event/Handler/Default.php(90): OmegaSandner\Subscriber\SearchBundleSubscriber->onPostDispatchDetail(Object(Enlight_Controller_ActionEventArgs))
#1 /usr/www/users/sandnh/shopware.sandner-collection.com/engine/Library/Enlight/Event/EventManager.php(207): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#2 /usr/www/users/sandnh/shopware.sandner-collection.com/engine/Library/Enlight/Controller/Action.php(218): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#3 /usr/www/users/sandnh/shopware.sandner-collection.com/engine/Library/Enlight/Controller/Dispatcher/Default.php(467): Enlight_Controller_Action->dispatch('indexAction')
#4 /usr/www/users/sandnh/shop in /usr/www/users/sandnh/shopware.sandner-collection.com/custom/plugins/OmegaSandner/Subscriber/SearchBundleSubscriber.php on line 64