Fatal error: Uncaught TypeError: Plugin\jtl_paypal_commerce\frontend\AbstractPaymentFrontend::__construct(): Argument #1 ($plugin) must be of type JTL\Plugin\PluginInterface, null given, called in /var/www/html/plugins/jtl_paypal_commerce/paymentmethod/PayPalCommerce.php on line 297 and defined in /var/www/html/plugins/jtl_paypal_commerce/frontend/AbstractPaymentFrontend.php:49
Stack trace:
#0 /var/www/html/plugins/jtl_paypal_commerce/paymentmethod/PayPalCommerce.php(297): Plugin\jtl_paypal_commerce\frontend\AbstractPaymentFrontend->__construct(NULL, Object(Plugin\jtl_paypal_commerce\paymentmethod\PayPalCommerce), Object(JTL\Smarty\JTLSmarty))
#1 /var/www/html/plugins/jtl_paypal_commerce/frontend/CheckoutPage.php(277): Plugin\jtl_paypal_commerce\paymentmethod\PayPalCommerce->getFrontendInterface(Object(Plugin\jtl_paypal_commerce\PPC\Configuration), Object(JTL\Smarty\JTLSmarty))
#2 /var/www/html/plugins/jtl_paypal_commerce/frontend/CheckoutPage.php(369): Plugin\jtl_paypal_commerce\frontend\CheckoutPage->checkoutStepProduct(Object(JTL\Smarty\JTLSmarty), Array, Object(JTL\Customer\Customer), Object(JTL\Cart\Cart))
#3 /var/www/html/plugins/jtl_paypal_commerce/frontend/Handler/FrontendHandler.php(143): Plugin\jtl_paypal_commerce\frontend\CheckoutPage->render(Object(JTL\Smarty\JTLSmarty))
#4 /var/www/html/includes/src/Events/Dispatcher.php(72): Plugin\jtl_paypal_commerce\frontend\Handler\FrontendHandler->smarty(Array)
#5 /var/www/html/includes/src/Plugin/HookManager.php(94): JTL\Events\Dispatcher->fire('shop.hook.140', Array)
#6 /var/www/html/includes/defines.php(329): JTL\Plugin\HookManager->executeHook(140, Array)
#7 /var/www/html/includes/src/Smarty/JTLSmarty.php(218): executeHook(140, Array)
#8 /var/www/html/includes/vendor/jtlshop/smarty4/libs/sysplugins/smarty_internal_runtime_filterhandler.php(63): JTL\Smarty\JTLSmarty->outputFilter('\n \n ...', Object(JTL\Smarty\JTLSmartyTemplateClass))
#9 /var/www/html/includes/vendor/jtlshop/smarty4/libs/sysplugins/smarty_internal_template.php(255): Smarty_Internal_Runtime_FilterHandler->runFilter('output', '\n \n ...', Object(JTL\Smarty\JTLSmartyTemplateClass))
#10 /var/www/html/includes/src/Smarty/JTLSmartyTemplateClass.php(59): Smarty_Internal_Template->render(false, 0)
#11 /var/www/html/includes/vendor/jtlshop/smarty4/libs/sysplugins/smarty_internal_templatebase.php(238): JTL\Smarty\JTLSmartyTemplateClass->render(false, 0)
#12 /var/www/html/includes/vendor/jtlshop/smarty4/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(JTL\Smarty\JTLSmartyTemplateClass), NULL, NULL, NULL, 0)
#13 /var/www/html/includes/src/Smarty/JTLSmarty.php(386): Smarty_Internal_TemplateBase->fetch(Object(JTL\Smarty\JTLSmartyTemplateClass))
#14 /var/www/html/includes/src/Router/Controller/ProductController.php(424): JTL\Smarty\JTLSmarty->getResponse('productdetails/...')
#15 /var/www/html/includes/src/Router/Controller/DefaultController.php(139): JTL\Router\Controller\ProductController->getResponse(Object(Laminas\Diactoros\ServerRequest), Array, Object(JTL\Smarty\JTLSmarty))
#16 /var/www/html/includes/src/Router/Controller/DefaultController.php(110): JTL\Router\Controller\DefaultController->redirectOldRoute(Array, Object(JTL\Router\Controller\ProductController), Object(Laminas\Diactoros\ServerRequest), Object(JTL\Smarty\JTLSmarty))
#17 /var/www/html/includes/src/Router/Strategy/SmartyStrategy.php(32): JTL\Router\Controller\DefaultController->getResponse(Object(Laminas\Diactoros\ServerRequest), Array, Object(JTL\Smarty\JTLSmarty))
#18 /var/www/html/includes/vendor/league/route/src/Route.php(124): JTL\Router\Strategy\SmartyStrategy->invokeRouteCallable(Object(League\Route\Route), Object(Laminas\Diactoros\ServerRequest))
#19 /var/www/html/includes/vendor/league/route/src/Dispatcher.php(59): League\Route\Route->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher))
#20 /var/www/html/includes/src/Router/Middleware/MaintenanceModeMiddleware.php(43): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest))
#21 /var/www/html/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\MaintenanceModeMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher))
#22 /var/www/html/includes/src/Router/Middleware/PhpFileCheckMiddleware.php(39): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest))
#23 /var/www/html/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\PhpFileCheckMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher))
#24 /var/www/html/includes/src/Router/Middleware/OptinMiddleware.php(38): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest))
#25 /var/www/html/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\OptinMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher))
#26 /var/www/html/includes/src/Router/Middleware/CurrencyCheckMiddleware.php(30): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest))
#27 /var/www/html/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\CurrencyCheckMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher))
#28 /var/www/html/includes/src/Router/Middleware/LocaleCheckMiddleware.php(44): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest))
#29 /var/www/html/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\LocaleCheckMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher))
#30 /var/www/html/includes/src/Router/Middleware/CartcheckMiddleware.php(27): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest))
#31 /var/www/html/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\CartcheckMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher))
#32 /var/www/html/includes/src/Router/Middleware/WishlistCheckMiddleware.php(30): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest))
#33 /var/www/html/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\WishlistCheckMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher))
#34 /var/www/html/includes/src/Router/Middleware/SSLRedirectMiddleware.php(45): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest))
#35 /var/www/html/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\SSLRedirectMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher))
#36 /var/www/html/includes/src/Router/Middleware/MaintenanceModeMiddleware.php(43): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest))
#37 /var/www/html/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\MaintenanceModeMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher))
#38 /var/www/html/includes/src/Router/Middleware/LocaleRedirectMiddleware.php(37): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest))
#39 /var/www/html/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\LocaleRedirectMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher))
#40 /var/www/html/includes/vendor/league/route/src/Strategy/ApplicationStrategy.php(37): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest))
#41 /var/www/html/includes/vendor/league/route/src/Dispatcher.php(59): Psr\Http\Server\MiddlewareInterface@anonymous->process(Object(Laminas\Diactoros\ServerRequest), Object(League\Route\Dispatcher))
#42 /var/www/html/includes/vendor/league/route/src/Dispatcher.php(53): League\Route\Dispatcher->handle(Object(Laminas\Diactoros\ServerRequest))
#43 /var/www/html/includes/vendor/league/route/src/Router.php(97): League\Route\Dispatcher->dispatchRequest(Object(Laminas\Diactoros\ServerRequest))
#44 /var/www/html/includes/src/Router/Router.php(654): League\Route\Router->dispatch(Object(Laminas\Diactoros\ServerRequest))
#45 /var/www/html/includes/src/Shop.php(379): JTL\Router\Router->dispatch(Object(JTL\Smarty\JTLSmarty))
#46 /var/www/html/index.php(9): JTL\Shop::dispatch()
#47 {main}
thrown in /var/www/html/plugins/jtl_paypal_commerce/frontend/AbstractPaymentFrontend.php on line 49