Warning: Trying to access array offset on value of type null in /var/www/presta_be/modules/ve_analytics/ve_analytics.php on line 661

Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'presta_be.ps_erp_inventory_local_stock_reservation' doesn't exist in /var/www/presta_be/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117 Stack trace: #0 /var/www/presta_be/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(117): PDOStatement->execute() #1 /var/www/presta_be/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1304): Doctrine\DBAL\Driver\PDOStatement->execute() #2 /var/www/presta_be/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(212): Doctrine\DBAL\Connection->executeQuery() #3 /var/www/presta_be/modules/ve_erpinventory/src/Repository/AbstractRepository.php(21): Doctrine\DBAL\Query\QueryBuilder->execute() #4 /var/www/presta_be/modules/ve_erpinventory/src/Repository/LocalStockReservationRepository.php(67): Vasco\ErpInventory\Repository\AbstractRepository->fetchAssociative() #5 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Shared/Erp/ErpAvailabilityService.php(83): Vasco\ErpInventory\Repository\LocalStockReservationRepository->findReservedQuantity() #6 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Shared/Stock/ErpStockReader.php(33): Vasco\ErpInventory\Service\Availability\Shared\Erp\ErpAvailabilityService->getRawQuantitiesForCurrentCountryByWarehouse() #7 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Product/ProductAvailabilityResolver.php(286): Vasco\ErpInventory\Service\Availability\Shared\Stock\ErpStockReader->getRawQuantitiesByWarehouse() #8 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Product/ProductAvailabilityResolver.php(79): Vasco\ErpInventory\Service\Availability\Product\ProductAvailabilityResolver->buildPackItemStockByWarehouse() #9 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Facade/ProductAvailabilityFacade.php(56): Vasco\ErpInventory\Service\Availability\Product\ProductAvailabilityResolver->resolvePackAvailability() #10 /var/www/presta_be/modules/ve_erpinventory/src/Application/Legacy/ProductAvailabilityBridge.php(32): Vasco\ErpInventory\Service\Availability\Facade\ProductAvailabilityFacade->getPackAvailability() #11 /var/www/presta_be/modules/ve_analytics/ve_analytics.php(840): Vasco\ErpInventory\Application\Legacy\ProductAvailabilityBridge::hasProductQuantity() #12 /var/www/presta_be/modules/ve_analytics/ve_analytics.php(663): Ve_analytics->addItem() #13 /var/www/presta_be/classes/Hook.php(1043): Ve_analytics->hookActionFrontControllerSetVariables() #14 /var/www/presta_be/classes/Hook.php(418): HookCore::coreCallHook() #15 /var/www/presta_be/classes/Hook.php(981): HookCore::callHookOn() #16 /var/www/presta_be/classes/controller/FrontController.php(564): HookCore::exec() #17 /var/www/presta_be/classes/controller/FrontController.php(607): FrontControllerCore->assignGeneralPurposeVariables() #18 /var/www/presta_be/controllers/front/ProductController.php(465): FrontControllerCore->initContent() #19 /var/www/presta_be/classes/controller/Controller.php(319): ProductControllerCore->initContent() #20 /var/www/presta_be/classes/Dispatcher.php(510): ControllerCore->run() #21 /var/www/presta_be/index.php(29): DispatcherCore->dispatch() #22 {main} Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'presta_be.ps_erp_inventory_local_stock_reservation' doesn't exist in /var/www/presta_be/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18 Stack trace: #0 /var/www/presta_be/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(119): Doctrine\DBAL\Driver\PDO\Exception::new() #1 /var/www/presta_be/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1304): Doctrine\DBAL\Driver\PDOStatement->execute() #2 /var/www/presta_be/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(212): Doctrine\DBAL\Connection->executeQuery() #3 /var/www/presta_be/modules/ve_erpinventory/src/Repository/AbstractRepository.php(21): Doctrine\DBAL\Query\QueryBuilder->execute() #4 /var/www/presta_be/modules/ve_erpinventory/src/Repository/LocalStockReservationRepository.php(67): Vasco\ErpInventory\Repository\AbstractRepository->fetchAssociative() #5 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Shared/Erp/ErpAvailabilityService.php(83): Vasco\ErpInventory\Repository\LocalStockReservationRepository->findReservedQuantity() #6 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Shared/Stock/ErpStockReader.php(33): Vasco\ErpInventory\Service\Availability\Shared\Erp\ErpAvailabilityService->getRawQuantitiesForCurrentCountryByWarehouse() #7 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Product/ProductAvailabilityResolver.php(286): Vasco\ErpInventory\Service\Availability\Shared\Stock\ErpStockReader->getRawQuantitiesByWarehouse() #8 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Product/ProductAvailabilityResolver.php(79): Vasco\ErpInventory\Service\Availability\Product\ProductAvailabilityResolver->buildPackItemStockByWarehouse() #9 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Facade/ProductAvailabilityFacade.php(56): Vasco\ErpInventory\Service\Availability\Product\ProductAvailabilityResolver->resolvePackAvailability() #10 /var/www/presta_be/modules/ve_erpinventory/src/Application/Legacy/ProductAvailabilityBridge.php(32): Vasco\ErpInventory\Service\Availability\Facade\ProductAvailabilityFacade->getPackAvailability() #11 /var/www/presta_be/modules/ve_analytics/ve_analytics.php(840): Vasco\ErpInventory\Application\Legacy\ProductAvailabilityBridge::hasProductQuantity() #12 /var/www/presta_be/modules/ve_analytics/ve_analytics.php(663): Ve_analytics->addItem() #13 /var/www/presta_be/classes/Hook.php(1043): Ve_analytics->hookActionFrontControllerSetVariables() #14 /var/www/presta_be/classes/Hook.php(418): HookCore::coreCallHook() #15 /var/www/presta_be/classes/Hook.php(981): HookCore::callHookOn() #16 /var/www/presta_be/classes/controller/FrontController.php(564): HookCore::exec() #17 /var/www/presta_be/classes/controller/FrontController.php(607): FrontControllerCore->assignGeneralPurposeVariables() #18 /var/www/presta_be/controllers/front/ProductController.php(465): FrontControllerCore->initContent() #19 /var/www/presta_be/classes/controller/Controller.php(319): ProductControllerCore->initContent() #20 /var/www/presta_be/classes/Dispatcher.php(510): ControllerCore->run() #21 /var/www/presta_be/index.php(29): DispatcherCore->dispatch() #22 {main} Next Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing 'SELECT reserved_quantity FROM ps_erp_inventory_local_stock_reservation WHERE (warehouse_id = ?) AND (id_product = ?) AND (id_product_attribute = ?) LIMIT 1' with params [100000, 14, 13]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'presta_be.ps_erp_inventory_local_stock_reservation' doesn't exist in /var/www/presta_be/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:61 Stack trace: #0 /var/www/presta_be/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(182): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException() #1 /var/www/presta_be/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(159): Doctrine\DBAL\DBALException::wrapException() #2 /var/www/presta_be/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(2226): Doctrine\DBAL\DBALException::driverExceptionDuringQuery() #3 /var/www/presta_be/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1313): Doctrine\DBAL\Connection->handleExceptionDuringQuery() #4 /var/www/presta_be/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(212): Doctrine\DBAL\Connection->executeQuery() #5 /var/www/presta_be/modules/ve_erpinventory/src/Repository/AbstractRepository.php(21): Doctrine\DBAL\Query\QueryBuilder->execute() #6 /var/www/presta_be/modules/ve_erpinventory/src/Repository/LocalStockReservationRepository.php(67): Vasco\ErpInventory\Repository\AbstractRepository->fetchAssociative() #7 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Shared/Erp/ErpAvailabilityService.php(83): Vasco\ErpInventory\Repository\LocalStockReservationRepository->findReservedQuantity() #8 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Shared/Stock/ErpStockReader.php(33): Vasco\ErpInventory\Service\Availability\Shared\Erp\ErpAvailabilityService->getRawQuantitiesForCurrentCountryByWarehouse() #9 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Product/ProductAvailabilityResolver.php(286): Vasco\ErpInventory\Service\Availability\Shared\Stock\ErpStockReader->getRawQuantitiesByWarehouse() #10 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Product/ProductAvailabilityResolver.php(79): Vasco\ErpInventory\Service\Availability\Product\ProductAvailabilityResolver->buildPackItemStockByWarehouse() #11 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Facade/ProductAvailabilityFacade.php(56): Vasco\ErpInventory\Service\Availability\Product\ProductAvailabilityResolver->resolvePackAvailability() #12 /var/www/presta_be/modules/ve_erpinventory/src/Application/Legacy/ProductAvailabilityBridge.php(32): Vasco\ErpInventory\Service\Availability\Facade\ProductAvailabilityFacade->getPackAvailability() #13 /var/www/presta_be/modules/ve_analytics/ve_analytics.php(840): Vasco\ErpInventory\Application\Legacy\ProductAvailabilityBridge::hasProductQuantity() #14 /var/www/presta_be/modules/ve_analytics/ve_analytics.php(663): Ve_analytics->addItem() #15 /var/www/presta_be/classes/Hook.php(1043): Ve_analytics->hookActionFrontControllerSetVariables() #16 /var/www/presta_be/classes/Hook.php(418): HookCore::coreCallHook() #17 /var/www/presta_be/classes/Hook.php(981): HookCore::callHookOn() #18 /var/www/presta_be/classes/controller/FrontController.php(564): HookCore::exec() #19 /var/www/presta_be/classes/controller/FrontController.php(607): FrontControllerCore->assignGeneralPurposeVariables() #20 /var/www/presta_be/controllers/front/ProductController.php(465): FrontControllerCore->initContent() #21 /var/www/presta_be/classes/controller/Controller.php(319): ProductControllerCore->initContent() #22 /var/www/presta_be/classes/Dispatcher.php(510): ControllerCore->run() #23 /var/www/presta_be/index.php(29): DispatcherCore->dispatch() #24 {main} Next PrestaShop\PrestaShop\Core\Exception\CoreException: An exception occurred while executing 'SELECT reserved_quantity FROM ps_erp_inventory_local_stock_reservation WHERE (warehouse_id = ?) AND (id_product = ?) AND (id_product_attribute = ?) LIMIT 1' with params [100000, 14, 13]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'presta_be.ps_erp_inventory_local_stock_reservation' doesn't exist in /var/www/presta_be/classes/Hook.php:431 Stack trace: #0 /var/www/presta_be/classes/Hook.php(981): HookCore::callHookOn() #1 /var/www/presta_be/classes/controller/FrontController.php(564): HookCore::exec() #2 /var/www/presta_be/classes/controller/FrontController.php(607): FrontControllerCore->assignGeneralPurposeVariables() #3 /var/www/presta_be/controllers/front/ProductController.php(465): FrontControllerCore->initContent() #4 /var/www/presta_be/classes/controller/Controller.php(319): ProductControllerCore->initContent() #5 /var/www/presta_be/classes/Dispatcher.php(510): ControllerCore->run() #6 /var/www/presta_be/index.php(29): DispatcherCore->dispatch() #7 {main} thrown in /var/www/presta_be/classes/Hook.php on line 431