Fatal error: Uncaught TypeError: str_replace(): Argument #3 ($subject) must be of type array|string, null given in /var/www/custom/project/TspoBlogExtensions/Subscriber/BlogDetailPage.php:699
Stack trace:
#0 /var/www/custom/project/TspoBlogExtensions/Subscriber/BlogDetailPage.php(699): str_replace('", "', '","', NULL)
#1 /var/www/custom/project/TspoBlogExtensions/Subscriber/BlogDetailPage.php(423): TspoBlogExtensions\Subscriber\BlogDetailPage->extractArray(' number="5" sho...', 'colors')
#2 /var/www/custom/project/TspoBlogExtensions/Subscriber/BlogDetailPage.php(111): TspoBlogExtensions\Subscriber\BlogDetailPage->setImagesWithProducts(Array)
#3 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Event/Handler/Default.php(90): TspoBlogExtensions\Subscriber\BlogDetailPage->extendBlogDetailPage(Object(Enlight_Controller_ActionEventArgs))
#4 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Event/EventManager.php(207): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#5 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Controller/Action.php(203): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#6 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(467): Enlight_Controller_Action->dispatch('detailAction')
#7 /var/www/vendor/shopware/shopware/engine/Library/Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#8 /var/www/vendor/shopware/shopware/engine/Shopware/Kernel.php(195): Enlight_Controller_Front->dispatch()
#9 /var/www/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#10 /var/www/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(AppKernel), Object(Symfony\Component\HttpFoundation\Request), 1, true)
#11 /var/www/vendor/shopware/shopware/engine/Shopware/Components/HttpCache/AppCache.php(270): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#12 /var/www/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#13 /var/www/vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true)
#14 /var/www/vendor/shopware/shopware/engine/Shopware/Components/HttpCache/AppCache.php(196): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#15 /var/www/vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#16 /var/www/vendor/shopware/shopware/engine/Shopware/Components/HttpCache/AppCache.php(117): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /var/www/shopware.php(20): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#18 {main}
thrown in /var/www/custom/project/TspoBlogExtensions/Subscriber/BlogDetailPage.php on line 699