Plugin crashes the e-shop completely when used on shopping cart or customer in admin gets opened.
Version v2.0.4
Prestashop information
Prestashop 8.1.2
Server information: Linux #16~22.04.1-Ubuntu SMP Tue Oct 10 17:11:51 UTC 2023 x86_64
Server software version: Apache/2.4.52 (Ubuntu)
PHP version: 8.1.2-1ubuntu2.14
Memory limit: 128M
Max execution time: 30
Upload Max File size: 128M
Full stack trace
ErrorException:
Warning: Undefined variable $params
at modules/vatchecker/vatchecker.php:839
at Vatchecker->checkVies()
(modules/vatchecker/vatchecker.php:772)
at Vatchecker->checkVat()
(modules/vatchecker/vatchecker.php:573)
at Vatchecker->isValidVat()
(modules/vatchecker/vatchecker.php:506)
at Vatchecker->canOrderWithoutVat()
(override/classes/tax/TaxRulesTaxManager.php:53)
at TaxRulesTaxManager->getTaxCalculator()
(classes/Carrier.php:1328)
at CarrierCore->getTaxCalculator()
(classes/Carrier.php:1307)
at CarrierCore->getTaxesRate()
(classes/Cart.php:3744)
at CartCore->getPackageShippingCost()
(classes/Cart.php:2889)
at CartCore->getDeliveryOptionList()
(classes/Cart.php:3405)
at CartCore->getDeliveryOption()
(classes/Cart.php:3478)
at CartCore->getTotalShippingCost()
(src/Core/Cart/Fees.php:96)
at PrestaShop\PrestaShop\Core\Cart\Fees->processCalculation()
(src/Core/Cart/Calculator.php:354)
at PrestaShop\PrestaShop\Core\Cart\Calculator->calculateFees()
(src/Core/Cart/Calculator.php:155)
at PrestaShop\PrestaShop\Core\Cart\Calculator->processCalculation()
(classes/Cart.php:2173)
at CartCore->getOrderTotal()
(src/Adapter/Customer/QueryHandler/GetCustomerForViewingHandler.php:315)
at PrestaShop\PrestaShop\Adapter\Customer\QueryHandler\GetCustomerForViewingHandler->getCustomerCarts()
(src/Adapter/Customer/QueryHandler/GetCustomerForViewingHandler.php:138)
at PrestaShop\PrestaShop\Adapter\Customer\QueryHandler\GetCustomerForViewingHandler->handle()
(vendor/league/tactician/src/Handler/CommandHandlerMiddleware.php:71)
at League\Tactician\Handler\CommandHandlerMiddleware->execute()
(vendor/league/tactician/src/CommandBus.php:62)
at League\Tactician\CommandBus->League\Tactician\{closure}()
(src/Core/CommandBus/Middleware/CommandRegisterMiddleware.php:79)
at PrestaShop\PrestaShop\Core\CommandBus\Middleware\CommandRegisterMiddleware->execute()
(vendor/league/tactician/src/CommandBus.php:62)
at League\Tactician\CommandBus->League\Tactician\{closure}()
(vendor/league/tactician/src/CommandBus.php:42)
at League\Tactician\CommandBus->handle()
(src/Core/CommandBus/TacticianCommandBusAdapter.php:54)
at PrestaShop\PrestaShop\Core\CommandBus\TacticianCommandBusAdapter->handle()
(src/PrestaShopBundle/Controller/Admin/Sell/Customer/CustomerController.php:275)
at PrestaShopBundle\Controller\Admin\Sell\Customer\CustomerController->viewAction()
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:169)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:81)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:201)
at Symfony\Component\HttpKernel\Kernel->handle()
(admin3194gakmy3aegajhigz/index.php:84)
Plugin crashes the e-shop completely when used on shopping cart or customer in admin gets opened.
Version v2.0.4
Prestashop information
Prestashop 8.1.2
Full stack trace