Fatal error: Uncaught TypeError: imagesx(): Argument #1 ($image) must be of type GdImage, bool given in /html/shopware/custom/plugins/StuttWatermark/StuttWatermark.php:161 Stack trace: #0 /html/shopware/custom/plugins/StuttWatermark/StuttWatermark.php(161): imagesx(false) #1 /html/shopware/custom/plugins/StuttWatermark/StuttWatermark.php(85): StuttWatermark\StuttWatermark->getWatermarkedImage('...') #2 /html/shopware/custom/plugins/StuttWatermark/StuttWatermark.php(75): StuttWatermark\StuttWatermark->runWatermarkConfiguration(Array) #3 /html/shopware/engine/Library/Enlight/Event/Handler/Default.php(90): StuttWatermark\StuttWatermark->onFilterResult(Object(Enlight_Event_EventArgs)) #4 /html/shopware/engine/Library/Enlight/Event/EventManager.php(291): Enlight_Event_Handler_Default->execute(Object(Enlight_Event_EventArgs)) #5 /html/shopware/engine/Shopware/Components/Compatibility/LegacyEventManager.php(106): Enlight_Event_EventManager->filter('...', Array, Object(Enlight_Event_EventArgs)) #6 /html/shopware/engine/Shopware/Core/sArticles.php(2471): Shopware\Components\Compatibility\LegacyEventManager->fireArticleByIdEvents(Array, Object(Shopware_Proxies_sArticlesProxy)) #7 /html/shopware/engine/Shopware/Core/sArticles.php(1113): sArticles->getLegacyProduct(Object(Shopware\Bundle\StoreFrontBundle\Struct\Product), 120, Array) #8 /html/shopware/engine/Shopware/Controllers/Frontend/Detail.php(111): sArticles->sGetArticleById(31454, 0, '...', Array) #9 /html/shopware/engine/Library/Enlight/Controller/Action.php(188): Shopware_Controllers_Frontend_Detail->indexAction() #10 /html/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(467): Enlight_Controller_Action->dispatch('...') #11 /html/shopware/engine/Library/Enlight/Controller/Front.php(226): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #12 /html/shopware/engine/Shopware/Kernel.php(195): Enlight_Controller_Front->dispatch() #13 /html/shopware/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(270): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #16 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #17 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true) #18 /html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(196): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #19 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true) #20 /html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(117): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /html/shopware/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #22 {main} thrown in /html/shopware/custom/plugins/StuttWatermark/StuttWatermark.php on line 161