Fatal error: Uncaught Error: Call to a member function toArray() on null in /home/straid1q/public_html/custom/plugins/GooddayFairFriendsConfiguration/GooddayFairFriendsConfiguration.php:42
Stack trace:
#0 /home/straid1q/public_html/engine/Library/Enlight/Event/Handler/Default.php(90): GooddayFairFriendsConfiguration\GooddayFairFriendsConfiguration->onPostDispatchDetail()
#1 /home/straid1q/public_html/engine/Library/Enlight/Event/EventManager.php(207): Enlight_Event_Handler_Default->execute()
#2 /home/straid1q/public_html/engine/Library/Enlight/Controller/Action.php(201): Enlight_Event_EventManager->notify()
#3 /home/straid1q/public_html/engine/Library/Enlight/Controller/Dispatcher/Default.php(467): Enlight_Controller_Action->dispatch()
#4 /home/straid1q/public_html/engine/Library/Enlight/Controller/Front.php(225): Enlight_Controller_Dispatcher_Default->dispatch()
#5 /home/straid1q/public_html/engine/Shopware/Kernel.php(197): Enlight_Controller_Front->dispatch()
#6 /home/straid1q/public_html/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle()
#7 /home/straid1q/public_html/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
#8 /home/straid1q/public_html/engine/Shopware/Components/HttpCache/AppCache.php(266): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
#9 /home/straid1q/public_html/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Shopware\Components\HttpCache\AppCache->forward()
#10 /home/straid1q/public_html/vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch()
#11 /home/straid1q/public_html/engine/Shopware/Components/HttpCache/AppCache.php(192): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup()
#12 /home/straid1q/public_html/vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Shopware\Components\HttpCache\AppCache->lookup()
#13 /home/straid1q/public_html/engine/Shopware/Components/HttpCache/AppCache.php(117): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle()
#14 /home/straid1q/public_html/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle()
#15 {main}
thrown in /home/straid1q/public_html/custom/plugins/GooddayFairFriendsConfiguration/GooddayFairFriendsConfiguration.php on line 42