Vape & Make
Aktives Mitglied
Der Shop meldete heute, dass ein Update für das Plugin PayPay Checkout vorhanden ist. Also Update angeworfen. Danach komplett Absturz, sowohl Admin als auch Kundenoberfläche. Habe jetzt erst mal das PayPal Plugin Verzeichnis auf dem Server umbenannt, damit überhaupt wieder etwas funktioniert. Ist natürlich sehr ungünstig, da die Hauptzahlart wegfällt.
Shop ist 5.2.4, Template 1.2.1, Datenbank v5.2.4
Die in der Fehlermeldung genannte Zeile ist " $this->method = $this->plugin->getPaymentMethods()->getMethodByID($this->moduleID);"
Hat irgendwer einen Lösungsvorschlag? Oder einen Weg wie ich wieder auf die alte Version zurückkomme?
Vielen, vielen Dank im Voraus
Niko
Fatal error: Uncaught TypeError: Cannot assign null to property Plugin\jtl_paypal_commerce\paymentmethod\PayPalPayment::$method of type JTL\Plugin\Data\PaymentMethod in /www/htdocs/w01700cd/Shop5/plugins/jtl_paypal_commerce/paymentmethod/PayPalPayment.php:118 Stack trace: #0 /www/htdocs/w01700cd/Shop5/includes/src/Plugin/Payment/Method.php(107): Plugin\jtl_paypal_commerce\paymentmethod\PayPalPayment->init(0) #1 /www/htdocs/w01700cd/Shop5/plugins/jtl_paypal_commerce/paymentmethod/Helper.php(87): JTL\Plugin\Payment\Method->__construct('kPlugin_71_payp...') #2 /www/htdocs/w01700cd/Shop5/plugins/jtl_paypal_commerce/paymentmethod/Helper.php(114): Plugin\jtl_paypal_commerce\paymentmethod\Helper->getPaymentFromID(96) #3 /www/htdocs/w01700cd/Shop5/plugins/jtl_paypal_commerce/frontend/Handler.php(546): Plugin\jtl_paypal_commerce\paymentmethod\Helper->getPaymentFromName('PayPalCommerce') #4 /www/htdocs/w01700cd/Shop5/includes/src/Events/Dispatcher.php(82): Plugin\jtl_paypal_commerce\frontend\Handler->smarty(Array) #5 /www/htdocs/w01700cd/Shop5/includes/src/Plugin/HookManager.php(108): JTL\Events\Dispatcher->fire('shop.hook.140', Array) #6 /www/htdocs/w01700cd/Shop5/includes/defines.php(318): JTL\Plugin\HookManager->executeHook(140, Array) #7 /www/htdocs/w01700cd/Shop5/includes/src/Smarty/JTLSmarty.php(204): executeHook(140, Array) #8 /www/htdocs/w01700cd/Shop5/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php(63): JTL\Smarty\JTLSmarty->outputFilter('\n \n ...', Object(JTL\Smarty\JTLSmartyTemplateClass)) #9 /www/htdocs/w01700cd/Shop5/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(255): Smarty_Internal_Runtime_FilterHandler->runFilter('output', '\n \n ...', Object(JTL\Smarty\JTLSmartyTemplateClass)) #10 /www/htdocs/w01700cd/Shop5/includes/src/Smarty/JTLSmartyTemplateClass.php(59): Smarty_Internal_Template->render(false, 0) #11 /www/htdocs/w01700cd/Shop5/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): JTL\Smarty\JTLSmartyTemplateClass->render(false, 0) #12 /www/htdocs/w01700cd/Shop5/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(JTL\Smarty\JTLSmartyTemplateClass), NULL, NULL, NULL, 0) #13 /www/htdocs/w01700cd/Shop5/includes/src/Smarty/JTLSmarty.php(344): Smarty_Internal_TemplateBase->fetch(Object(JTL\Smarty\JTLSmartyTemplateClass)) #14 /www/htdocs/w01700cd/Shop5/includes/src/Router/Controller/PageController.php(247): JTL\Smarty\JTLSmarty->getResponse(Object(JTL\Smarty\JTLSmartyTemplateClass)) #15 /www/htdocs/w01700cd/Shop5/includes/src/Router/Controller/RootController.php(40): JTL\Router\Controller\PageController->getResponse(Object(Laminas\Diactoros\ServerRequest), Array, Object(JTL\Smarty\JTLSmarty)) #16 /www/htdocs/w01700cd/Shop5/includes/src/Router/Strategy/SmartyStrategy.php(40): JTL\Router\Controller\RootController->getResponse(Object(Laminas\Diactoros\ServerRequest), Array, Object(JTL\Smarty\JTLSmarty)) #17 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Route.php(167): JTL\Router\Strategy\SmartyStrategy->invokeRouteCallable(Object(League\Route\Route), Object(Laminas\Diactoros\ServerRequest)) #18 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): League\Route\Route->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #19 /www/htdocs/w01700cd/Shop5/includes/src/Router/Middleware/OptinMiddleware.php(49): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #20 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\OptinMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #21 /www/htdocs/w01700cd/Shop5/includes/src/Router/Middleware/CurrencyCheckMiddleware.php(26): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #22 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\CurrencyCheckMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #23 /www/htdocs/w01700cd/Shop5/includes/src/Router/Middleware/LocaleCheckMiddleware.php(34): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #24 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\LocaleCheckMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #25 /www/htdocs/w01700cd/Shop5/includes/src/Router/Middleware/CartcheckMiddleware.php(25): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #26 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\CartcheckMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #27 /www/htdocs/w01700cd/Shop5/includes/src/Router/Middleware/WishlistCheckMiddleware.php(24): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #28 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\WishlistCheckMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #29 /www/htdocs/w01700cd/Shop5/includes/src/Router/Middleware/SSLRedirectMiddleware.php(43): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #30 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\SSLRedirectMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #31 /www/htdocs/w01700cd/Shop5/includes/src/Router/Middleware/MaintenanceModeMiddleware.php(40): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #32 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\MaintenanceModeMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #33 /www/htdocs/w01700cd/Shop5/includes/src/Router/Middleware/LocaleRedirectMiddleware.php(38): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #34 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\LocaleRedirectMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #35 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Strategy/ApplicationStrategy.php(37): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #36 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): Psr\Http\Server\MiddlewareInterface@anonymous->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #37 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(53): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #38 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Router.php(111): League\Route\Dispatcher->dispatchRequest(Object(Laminas\Diactoros\ServerRequest)) #39 /www/htdocs/w01700cd/Shop5/includes/src/Router/Router.php(677): League\Route\Router->dispatch(Object(Laminas\Diactoros\ServerRequest)) #40 /www/htdocs/w01700cd/Shop5/includes/src/Shop.php(472): JTL\Router\Router->dispatch(Object(JTL\Smarty\JTLSmarty)) #41 /www/htdocs/w01700cd/Shop5/index.php(7): JTL\Shop::dispatch() #42 {main} thrown in /www/htdocs/w01700cd/Shop5/plugins/jtl_paypal_commerce/paymentmethod/PayPalPayment.php on line 118
Shop ist 5.2.4, Template 1.2.1, Datenbank v5.2.4
Die in der Fehlermeldung genannte Zeile ist " $this->method = $this->plugin->getPaymentMethods()->getMethodByID($this->moduleID);"
Hat irgendwer einen Lösungsvorschlag? Oder einen Weg wie ich wieder auf die alte Version zurückkomme?
Vielen, vielen Dank im Voraus
Niko
Fatal error: Uncaught TypeError: Cannot assign null to property Plugin\jtl_paypal_commerce\paymentmethod\PayPalPayment::$method of type JTL\Plugin\Data\PaymentMethod in /www/htdocs/w01700cd/Shop5/plugins/jtl_paypal_commerce/paymentmethod/PayPalPayment.php:118 Stack trace: #0 /www/htdocs/w01700cd/Shop5/includes/src/Plugin/Payment/Method.php(107): Plugin\jtl_paypal_commerce\paymentmethod\PayPalPayment->init(0) #1 /www/htdocs/w01700cd/Shop5/plugins/jtl_paypal_commerce/paymentmethod/Helper.php(87): JTL\Plugin\Payment\Method->__construct('kPlugin_71_payp...') #2 /www/htdocs/w01700cd/Shop5/plugins/jtl_paypal_commerce/paymentmethod/Helper.php(114): Plugin\jtl_paypal_commerce\paymentmethod\Helper->getPaymentFromID(96) #3 /www/htdocs/w01700cd/Shop5/plugins/jtl_paypal_commerce/frontend/Handler.php(546): Plugin\jtl_paypal_commerce\paymentmethod\Helper->getPaymentFromName('PayPalCommerce') #4 /www/htdocs/w01700cd/Shop5/includes/src/Events/Dispatcher.php(82): Plugin\jtl_paypal_commerce\frontend\Handler->smarty(Array) #5 /www/htdocs/w01700cd/Shop5/includes/src/Plugin/HookManager.php(108): JTL\Events\Dispatcher->fire('shop.hook.140', Array) #6 /www/htdocs/w01700cd/Shop5/includes/defines.php(318): JTL\Plugin\HookManager->executeHook(140, Array) #7 /www/htdocs/w01700cd/Shop5/includes/src/Smarty/JTLSmarty.php(204): executeHook(140, Array) #8 /www/htdocs/w01700cd/Shop5/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php(63): JTL\Smarty\JTLSmarty->outputFilter('\n \n ...', Object(JTL\Smarty\JTLSmartyTemplateClass)) #9 /www/htdocs/w01700cd/Shop5/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(255): Smarty_Internal_Runtime_FilterHandler->runFilter('output', '\n \n ...', Object(JTL\Smarty\JTLSmartyTemplateClass)) #10 /www/htdocs/w01700cd/Shop5/includes/src/Smarty/JTLSmartyTemplateClass.php(59): Smarty_Internal_Template->render(false, 0) #11 /www/htdocs/w01700cd/Shop5/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): JTL\Smarty\JTLSmartyTemplateClass->render(false, 0) #12 /www/htdocs/w01700cd/Shop5/includes/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(JTL\Smarty\JTLSmartyTemplateClass), NULL, NULL, NULL, 0) #13 /www/htdocs/w01700cd/Shop5/includes/src/Smarty/JTLSmarty.php(344): Smarty_Internal_TemplateBase->fetch(Object(JTL\Smarty\JTLSmartyTemplateClass)) #14 /www/htdocs/w01700cd/Shop5/includes/src/Router/Controller/PageController.php(247): JTL\Smarty\JTLSmarty->getResponse(Object(JTL\Smarty\JTLSmartyTemplateClass)) #15 /www/htdocs/w01700cd/Shop5/includes/src/Router/Controller/RootController.php(40): JTL\Router\Controller\PageController->getResponse(Object(Laminas\Diactoros\ServerRequest), Array, Object(JTL\Smarty\JTLSmarty)) #16 /www/htdocs/w01700cd/Shop5/includes/src/Router/Strategy/SmartyStrategy.php(40): JTL\Router\Controller\RootController->getResponse(Object(Laminas\Diactoros\ServerRequest), Array, Object(JTL\Smarty\JTLSmarty)) #17 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Route.php(167): JTL\Router\Strategy\SmartyStrategy->invokeRouteCallable(Object(League\Route\Route), Object(Laminas\Diactoros\ServerRequest)) #18 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): League\Route\Route->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #19 /www/htdocs/w01700cd/Shop5/includes/src/Router/Middleware/OptinMiddleware.php(49): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #20 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\OptinMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #21 /www/htdocs/w01700cd/Shop5/includes/src/Router/Middleware/CurrencyCheckMiddleware.php(26): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #22 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\CurrencyCheckMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #23 /www/htdocs/w01700cd/Shop5/includes/src/Router/Middleware/LocaleCheckMiddleware.php(34): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #24 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\LocaleCheckMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #25 /www/htdocs/w01700cd/Shop5/includes/src/Router/Middleware/CartcheckMiddleware.php(25): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #26 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\CartcheckMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #27 /www/htdocs/w01700cd/Shop5/includes/src/Router/Middleware/WishlistCheckMiddleware.php(24): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #28 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\WishlistCheckMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #29 /www/htdocs/w01700cd/Shop5/includes/src/Router/Middleware/SSLRedirectMiddleware.php(43): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #30 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\SSLRedirectMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #31 /www/htdocs/w01700cd/Shop5/includes/src/Router/Middleware/MaintenanceModeMiddleware.php(40): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #32 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\MaintenanceModeMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #33 /www/htdocs/w01700cd/Shop5/includes/src/Router/Middleware/LocaleRedirectMiddleware.php(38): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #34 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\LocaleRedirectMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #35 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Strategy/ApplicationStrategy.php(37): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #36 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(59): Psr\Http\Server\MiddlewareInterface@anonymous->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher)) #37 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Dispatcher.php(53): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest)) #38 /www/htdocs/w01700cd/Shop5/includes/vendor/league/route/src/Router.php(111): League\Route\Dispatcher->dispatchRequest(Object(Laminas\Diactoros\ServerRequest)) #39 /www/htdocs/w01700cd/Shop5/includes/src/Router/Router.php(677): League\Route\Router->dispatch(Object(Laminas\Diactoros\ServerRequest)) #40 /www/htdocs/w01700cd/Shop5/includes/src/Shop.php(472): JTL\Router\Router->dispatch(Object(JTL\Smarty\JTLSmarty)) #41 /www/htdocs/w01700cd/Shop5/index.php(7): JTL\Shop::dispatch() #42 {main} thrown in /www/htdocs/w01700cd/Shop5/plugins/jtl_paypal_commerce/paymentmethod/PayPalPayment.php on line 118