Hallo,
ich habe gerade ein Shopupdate auf die neuste Version gemacht.
In diesem Zuge habe ich beim Hoster auch auf PHP 8.1 umgestellt.
Jetzt bekomme ich bei der Artikelseite immer ein HTTP ERROR 500 - jedoch nicht bei Kategorieseiten oder anderen Seiten.
Ich habe im Backend schon den Cache gelöscht sowie alle Artikel, Kategorien etc. und habe anschließend einen Komplettabgleich gemacht.
Das ist der Fehler der hinter dem HTTP 500 steht:
Hat hier jemand eine Idee? :/
ich habe gerade ein Shopupdate auf die neuste Version gemacht.
In diesem Zuge habe ich beim Hoster auch auf PHP 8.1 umgestellt.
Jetzt bekomme ich bei der Artikelseite immer ein HTTP ERROR 500 - jedoch nicht bei Kategorieseiten oder anderen Seiten.
Ich habe im Backend schon den Cache gelöscht sowie alle Artikel, Kategorien etc. und habe anschließend einen Komplettabgleich gemacht.
Das ist der Fehler der hinter dem HTTP 500 steht:
Fatal error: Uncaught TypeError: JTL\Media\Image\AbstractImage::toRequest(): Argument #1 ($imageUrl) must be of type string, null given, called in /usr/www/users/kfddad/templates/NOVA/Plugins.php on line 562 and defined in /usr/www/users/kfddad/includes/src/Media/Image/AbstractImage.php:469 Stack trace: #0 /usr/www/users/kfddad/templates/NOVA/Plugins.php(562): JTL\Media\Image\AbstractImage::toRequest() #1 /usr/www/users/kfddad/templates/NOVA/Plugins.php(525): Template\NOVA\Plugins->getImageSize() #2 /usr/www/users/kfddad/templates_c/NOVA/de696f4a8ff29fadc0df708d9f67b5dcbc7442fc_0.file.variation.tpl.php(94): Template\NOVA\Plugins->prepareImageDetails() #3 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_31888742863c6b59a7587f7_97045310->callBlock() #4 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #5 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #6 /usr/www/users/kfddad/templates_c/NOVA/de696f4a8ff29fadc0df708d9f67b5dcbc7442fc_0.file.variation.tpl.php(136): Smarty_Internal_Runtime_Inheritance->instanceBlock() #7 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_192766680663c6b59a753a60_90145740->callBlock() #8 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #9 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #10 /usr/www/users/kfddad/templates_c/NOVA/de696f4a8ff29fadc0df708d9f67b5dcbc7442fc_0.file.variation.tpl.php(500): Smarty_Internal_Runtime_Inheritance->instanceBlock() #11 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_48209174163c6b59a74f1d2_13604787->callBlock() #12 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #13 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #14 /usr/www/users/kfddad/templates_c/NOVA/de696f4a8ff29fadc0df708d9f67b5dcbc7442fc_0.file.variation.tpl.php(610): Smarty_Internal_Runtime_Inheritance->instanceBlock() #15 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_148844885363c6b59a74ccd5_30593014->callBlock() #16 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #17 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #18 /usr/www/users/kfddad/templates_c/NOVA/de696f4a8ff29fadc0df708d9f67b5dcbc7442fc_0.file.variation.tpl.php(28): Smarty_Internal_Runtime_Inheritance->instanceBlock() #19 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_63c6b59a781fa5_82656242() #20 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #21 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #22 /usr/www/users/kfddad/includes/src/Smarty/JTLSmartyTemplateClass.php(59): Smarty_Internal_Template->render() #23 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): JTL\Smarty\JTLSmartyTemplateClass->render() #24 /usr/www/users/kfddad/includes/src/Smarty/JTLSmartyTemplateClass.php(37): Smarty_Internal_Template->_subTemplateRender() #25 /usr/www/users/kfddad/templates_c/NOVA/3c7d3b233dc03dcbfe86541e20e61fd27174af8f_0.file.details.tpl.php(502): JTL\Smarty\JTLSmartyTemplateClass->_subTemplateRender() #26 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_138156976663c6b59a70bc34_12423416->callBlock() #27 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #28 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #29 /usr/www/users/kfddad/templates_c/NOVA/3c7d3b233dc03dcbfe86541e20e61fd27174af8f_0.file.details.tpl.php(854): Smarty_Internal_Runtime_Inheritance->instanceBlock() #30 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_135791235963c6b59a6f3ad4_51570390->callBlock() #31 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #32 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #33 /usr/www/users/kfddad/templates_c/NOVA/3c7d3b233dc03dcbfe86541e20e61fd27174af8f_0.file.details.tpl.php(969): Smarty_Internal_Runtime_Inheritance->instanceBlock() #34 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_21793726463c6b59a6f0a16_24506125->callBlock() #35 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #36 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #37 /usr/www/users/kfddad/templates_c/NOVA/3c7d3b233dc03dcbfe86541e20e61fd27174af8f_0.file.details.tpl.php(1362): Smarty_Internal_Runtime_Inheritance->instanceBlock() #38 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_106657885963c6b59a6ee303_47984789->callBlock() #39 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #40 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #41 /usr/www/users/kfddad/templates_c/NOVA/3c7d3b233dc03dcbfe86541e20e61fd27174af8f_0.file.details.tpl.php(41): Smarty_Internal_Runtime_Inheritance->instanceBlock() #42 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_63c6b59a723775_62122465() #43 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #44 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #45 /usr/www/users/kfddad/includes/src/Smarty/JTLSmartyTemplateClass.php(59): Smarty_Internal_Template->render() #46 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): JTL\Smarty\JTLSmartyTemplateClass->render() #47 /usr/www/users/kfddad/includes/src/Smarty/JTLSmartyTemplateClass.php(37): Smarty_Internal_Template->_subTemplateRender() #48 /usr/www/users/kfddad/templates_c/NOVA/d5fb6eb29d2e5b0b8ae7b25358266e793df4c7c7_0.file.index.tpl.php(92): JTL\Smarty\JTLSmartyTemplateClass->_subTemplateRender() #49 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_212340493863c6b59a471e32_92783695->callBlock() #50 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #51 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #52 /usr/www/users/kfddad/templates_c/NOVA/d5fb6eb29d2e5b0b8ae7b25358266e793df4c7c7_0.file.index.tpl.php(112): Smarty_Internal_Runtime_Inheritance->instanceBlock() #53 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_44273483863c6b59a470bb6_65736888->callBlock() #54 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #55 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #56 /usr/www/users/kfddad/templates_c/NOVA/d5fb6eb29d2e5b0b8ae7b25358266e793df4c7c7_0.file.index.tpl.php(143): Smarty_Internal_Runtime_Inheritance->instanceBlock() #57 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_38483464863c6b59a46d0e5_54884216->callBlock() #58 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #59 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #60 /usr/www/users/kfddad/templates_c/NOVA/d5fb6eb29d2e5b0b8ae7b25358266e793df4c7c7_0.file.index.tpl.php(214): Smarty_Internal_Runtime_Inheritance->instanceBlock() #61 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_150268823763c6b59a46b958_94039376->callBlock() #62 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock() #63 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process() #64 /usr/www/users/kfddad/templates_c/NOVA/d5fb6eb29d2e5b0b8ae7b25358266e793df4c7c7_0.file.index.tpl.php(32): Smarty_Internal_Runtime_Inheritance->instanceBlock() #65 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_63c6b59a4742b7_71427718() #66 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #67 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #68 /usr/www/users/kfddad/includes/src/Smarty/JTLSmartyTemplateClass.php(59): Smarty_Internal_Template->render() #69 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): JTL\Smarty\JTLSmartyTemplateClass->render() #70 /usr/www/users/kfddad/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute() #71 /usr/www/users/kfddad/includes/src/Smarty/JTLSmarty.php(344): Smarty_Internal_TemplateBase->fetch() #72 /usr/www/users/kfddad/includes/src/Router/Controller/ProductController.php(359): JTL\Smarty\JTLSmarty->getResponse() #73 /usr/www/users/kfddad/includes/src/Router/Controller/DefaultController.php(114): JTL\Router\Controller\ProductController->getResponse() #74 /usr/www/users/kfddad/includes/src/Router/Strategy/SmartyStrategy.php(40): JTL\Router\Controller\DefaultController->getResponse() #75 /usr/www/users/kfddad/includes/vendor/league/route/src/Route.php(167): JTL\Router\Strategy\SmartyStrategy->invokeRouteCallable() #76 /usr/www/users/kfddad/includes/vendor/league/route/src/Dispatcher.php(59): League\Route\Route->process() #77 /usr/www/users/kfddad/includes/src/Router/Middleware/PhpFileCheckMiddleware.php(36): League\Route\Dispatcher->handle() #78 /usr/www/users/kfddad/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\PhpFileCheckMiddleware->process() #79 /usr/www/users/kfddad/includes/src/Router/Middleware/OptinMiddleware.php(49): League\Route\Dispatcher->handle() #80 /usr/www/users/kfddad/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\OptinMiddleware->process() #81 /usr/www/users/kfddad/includes/src/Router/Middleware/CurrencyCheckMiddleware.php(26): League\Route\Dispatcher->handle() #82 /usr/www/users/kfddad/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\CurrencyCheckMiddleware->process() #83 /usr/www/users/kfddad/includes/src/Router/Middleware/LocaleCheckMiddleware.php(34): League\Route\Dispatcher->handle() #84 /usr/www/users/kfddad/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\LocaleCheckMiddleware->process() #85 /usr/www/users/kfddad/includes/src/Router/Middleware/CartcheckMiddleware.php(25): League\Route\Dispatcher->handle() #86 /usr/www/users/kfddad/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\CartcheckMiddleware->process() #87 /usr/www/users/kfddad/includes/src/Router/Middleware/WishlistCheckMiddleware.php(24): League\Route\Dispatcher->handle() #88 /usr/www/users/kfddad/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\WishlistCheckMiddleware->process() #89 /usr/www/users/kfddad/includes/src/Router/Middleware/SSLRedirectMiddleware.php(43): League\Route\Dispatcher->handle() #90 /usr/www/users/kfddad/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\SSLRedirectMiddleware->process() #91 /usr/www/users/kfddad/includes/src/Router/Middleware/MaintenanceModeMiddleware.php(40): League\Route\Dispatcher->handle() #92 /usr/www/users/kfddad/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\MaintenanceModeMiddleware->process() #93 /usr/www/users/kfddad/includes/vendor/league/route/src/Strategy/ApplicationStrategy.php(37): League\Route\Dispatcher->handle() #94 /usr/www/users/kfddad/includes/vendor/league/route/src/Dispatcher.php(59): Psr\Http\Server\MiddlewareInterface@anonymous->process() #95 /usr/www/users/kfddad/includes/vendor/league/route/src/Dispatcher.php(53): League\Route\Dispatcher->handle() #96 /usr/www/users/kfddad/includes/vendor/league/route/src/Router.php(111): League\Route\Dispatcher->dispatchRequest() #97 /usr/www/users/kfddad/includes/src/Router/Router.php(659): League\Route\Router->dispatch() #98 /usr/www/users/kfddad/includes/src/Shop.php(455): JTL\Router\Router->dispatch() #99 /usr/www/users/kfddad/index.php(7): JTL\Shop::dispatch() #100 {main} thrown in /usr/www/users/kfddad/includes/src/Media/Image/AbstractImage.php on line 469
Hat hier jemand eine Idee? :/