Jump to content

Edit History

pietpetoors

pietpetoors

When I try to open an order I get the following errors

Quote

Type error: Argument 4 passed to PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderShippingAddressForViewing::__construct() must be of the type string, null given, called in /var/www/vhosts/4x4direct.co.za/httpdocs/src/Adapter/Order/QueryHandler/GetOrderForViewingHandler.php on line 277

Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 4 passed to PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderShippingAddressForViewing::__construct() must be of the type string, null given, called in /var/www/vhosts/4x4direct.co.za/httpdocs/src/Adapter/Order/QueryHandler/GetOrderForViewingHandler.php on line 277 at src/Core/Domain/Order/QueryResult/OrderShippingAddressForViewing.php:117 at PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderShippingAddressForViewing->__construct(1, 'Pie*r', 'Pre****s', null, '3 ****Drive', '*****Beach', '', '*****', 'South Africa', '7357', '0*****', '0*****', null, null) (src/Adapter/Order/QueryHandler/GetOrderForViewingHandler.php:277) at PrestaShop\PrestaShop\Adapter\Order\QueryHandler\GetOrderForViewingHandler->getOrderShippingAddress(object(Order)) (src/Adapter/Order/QueryHandler/GetOrderForViewingHandler.php:199) at PrestaShop\PrestaShop\Adapter\Order\QueryHandler\GetOrderForViewingHandler->handle(object(GetOrderForViewing)) (vendor/league/tactician/src/Handler/CommandHandlerMiddleware.php:71) at League\Tactician\Handler\CommandHandlerMiddleware->execute(object(GetOrderForViewing), object(Closure)) (vendor/league/tactician/src/CommandBus.php:62) at League\Tactician\CommandBus->League\Tactician\{closure}(object(GetOrderForViewing)) (src/Core/CommandBus/Middleware/CommandRegisterMiddleware.php:79) at PrestaShop\PrestaShop\Core\CommandBus\Middleware\CommandRegisterMiddleware->execute(object(GetOrderForViewing), object(Closure)) (vendor/league/tactician/src/CommandBus.php:62) at League\Tactician\CommandBus->League\Tactician\{closure}(object(GetOrderForViewing)) (vendor/league/tactician/src/CommandBus.php:42) at League\Tactician\CommandBus->handle(object(GetOrderForViewing)) (src/Core/CommandBus/TacticianCommandBusAdapter.php:54) at PrestaShop\PrestaShop\Core\CommandBus\TacticianCommandBusAdapter->handle(object(GetOrderForViewing)) (src/PrestaShopBundle/Controller/Admin/Sell/Order/OrderController.php:406) at PrestaShopBundle\Controller\Admin\Sell\Order\OrderController->viewAction(17317, object(Request)) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, false) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200) at Symfony\Component\HttpKernel\Kernel->handle(object(Request), 1, false) (admin458544/index.php:82)

 

pietpetoors

pietpetoors

When I try to open an order I get the following errors

Quote

Type error: Argument 4 passed to PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderShippingAddressForViewing::__construct() must be of the type string, null given, called in /var/www/vhosts/4x4direct.co.za/httpdocs/src/Adapter/Order/QueryHandler/GetOrderForViewingHandler.php on line 277

Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 4 passed to PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderShippingAddressForViewing::__construct() must be of the type string, null given, called in /var/www/vhosts/4x4direct.co.za/httpdocs/src/Adapter/Order/QueryHandler/GetOrderForViewingHandler.php on line 277 at src/Core/Domain/Order/QueryResult/OrderShippingAddressForViewing.php:117 at PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderShippingAddressForViewing->__construct(1, 'Pie*r', 'Pre****s', null, '3 ****Drive', '*****Beach', '', '*****', 'South Africa', '7357', '0*****', '0*****', null, null) (src/Adapter/Order/QueryHandler/GetOrderForViewingHandler.php:277) at PrestaShop\PrestaShop\Adapter\Order\QueryHandler\GetOrderForViewingHandler->getOrderShippingAddress(object(Order)) (src/Adapter/Order/QueryHandler/GetOrderForViewingHandler.php:199) at PrestaShop\PrestaShop\Adapter\Order\QueryHandler\GetOrderForViewingHandler->handle(object(GetOrderForViewing)) (vendor/league/tactician/src/Handler/CommandHandlerMiddleware.php:71) at League\Tactician\Handler\CommandHandlerMiddleware->execute(object(GetOrderForViewing), object(Closure)) (vendor/league/tactician/src/CommandBus.php:62) at League\Tactician\CommandBus->League\Tactician\{closure}(object(GetOrderForViewing)) (src/Core/CommandBus/Middleware/CommandRegisterMiddleware.php:79) at PrestaShop\PrestaShop\Core\CommandBus\Middleware\CommandRegisterMiddleware->execute(object(GetOrderForViewing), object(Closure)) (vendor/league/tactician/src/CommandBus.php:62) at League\Tactician\CommandBus->League\Tactician\{closure}(object(GetOrderForViewing)) (vendor/league/tactician/src/CommandBus.php:42) at League\Tactician\CommandBus->handle(object(GetOrderForViewing)) (src/Core/CommandBus/TacticianCommandBusAdapter.php:54) at PrestaShop\PrestaShop\Core\CommandBus\TacticianCommandBusAdapter->handle(object(GetOrderForViewing)) (src/PrestaShopBundle/Controller/Admin/Sell/Order/OrderController.php:406) at PrestaShopBundle\Controller\Admin\Sell\Order\OrderController->viewAction(17317, object(Request)) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, false) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200) at Symfony\Component\HttpKernel\Kernel->handle(object(Request), 1, false) (admin147frxzs2/index.php:82)

 

×
×
  • Create New...