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/Erp/ErpAvailabilityService.php(48): Vasco\ErpInventory\Service\Availability\Shared\Erp\ErpAvailabilityService->getRawQuantitiesForCurrentCountryByWarehouse()
#7 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Shared/Stock/ErpStockReader.php(23): Vasco\ErpInventory\Service\Availability\Shared\Erp\ErpAvailabilityService->getRawQuantityForCurrentCountry()
#8 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Product/ProductAvailabilityResolver.php(53): Vasco\ErpInventory\Service\Availability\Shared\Stock\ErpStockReader->getRawQuantity()
#9 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Facade/ProductAvailabilityFacade.php(30): Vasco\ErpInventory\Service\Availability\Product\ProductAvailabilityResolver->resolveAvailability()
#10 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Facade/ProductAvailabilityFacade.php(39): Vasco\ErpInventory\Service\Availability\Facade\ProductAvailabilityFacade->getAvailability()
#11 /var/www/presta_be/modules/ve_erpinventory/src/Application/Legacy/ProductAvailabilityBridge.php(29): Vasco\ErpInventory\Service\Availability\Facade\ProductAvailabilityFacade->hasQuantity()
#12 /var/www/presta_be/modules/ve_analytics/ve_analytics.php(790): Vasco\ErpInventory\Application\Legacy\ProductAvailabilityBridge::hasProductQuantity()
#13 /var/www/presta_be/modules/ve_analytics/ve_analytics.php(686): Ve_analytics->addItem()
#14 /var/www/presta_be/classes/Hook.php(1043): Ve_analytics->hookActionFrontControllerSetVariables()
#15 /var/www/presta_be/classes/Hook.php(418): HookCore::coreCallHook()
#16 /var/www/presta_be/classes/Hook.php(981): HookCore::callHookOn()
#17 /var/www/presta_be/classes/controller/FrontController.php(564): HookCore::exec()
#18 /var/www/presta_be/classes/controller/FrontController.php(607): FrontControllerCore->assignGeneralPurposeVariables()
#19 /var/www/presta_be/controllers/front/listing/CategoryController.php(127): FrontControllerCore->initContent()
#20 /var/www/presta_be/classes/controller/Controller.php(319): CategoryControllerCore->initContent()
#21 /var/www/presta_be/classes/Dispatcher.php(510): ControllerCore->run()
#22 /var/www/presta_be/index.php(29): DispatcherCore->dispatch()
#23 {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/Erp/ErpAvailabilityService.php(48): Vasco\ErpInventory\Service\Availability\Shared\Erp\ErpAvailabilityService->getRawQuantitiesForCurrentCountryByWarehouse()
#7 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Shared/Stock/ErpStockReader.php(23): Vasco\ErpInventory\Service\Availability\Shared\Erp\ErpAvailabilityService->getRawQuantityForCurrentCountry()
#8 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Product/ProductAvailabilityResolver.php(53): Vasco\ErpInventory\Service\Availability\Shared\Stock\ErpStockReader->getRawQuantity()
#9 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Facade/ProductAvailabilityFacade.php(30): Vasco\ErpInventory\Service\Availability\Product\ProductAvailabilityResolver->resolveAvailability()
#10 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Facade/ProductAvailabilityFacade.php(39): Vasco\ErpInventory\Service\Availability\Facade\ProductAvailabilityFacade->getAvailability()
#11 /var/www/presta_be/modules/ve_erpinventory/src/Application/Legacy/ProductAvailabilityBridge.php(29): Vasco\ErpInventory\Service\Availability\Facade\ProductAvailabilityFacade->hasQuantity()
#12 /var/www/presta_be/modules/ve_analytics/ve_analytics.php(790): Vasco\ErpInventory\Application\Legacy\ProductAvailabilityBridge::hasProductQuantity()
#13 /var/www/presta_be/modules/ve_analytics/ve_analytics.php(686): Ve_analytics->addItem()
#14 /var/www/presta_be/classes/Hook.php(1043): Ve_analytics->hookActionFrontControllerSetVariables()
#15 /var/www/presta_be/classes/Hook.php(418): HookCore::coreCallHook()
#16 /var/www/presta_be/classes/Hook.php(981): HookCore::callHookOn()
#17 /var/www/presta_be/classes/controller/FrontController.php(564): HookCore::exec()
#18 /var/www/presta_be/classes/controller/FrontController.php(607): FrontControllerCore->assignGeneralPurposeVariables()
#19 /var/www/presta_be/controllers/front/listing/CategoryController.php(127): FrontControllerCore->initContent()
#20 /var/www/presta_be/classes/controller/Controller.php(319): CategoryControllerCore->initContent()
#21 /var/www/presta_be/classes/Dispatcher.php(510): ControllerCore->run()
#22 /var/www/presta_be/index.php(29): DispatcherCore->dispatch()
#23 {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, 8, 0]:
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/Erp/ErpAvailabilityService.php(48): Vasco\ErpInventory\Service\Availability\Shared\Erp\ErpAvailabilityService->getRawQuantitiesForCurrentCountryByWarehouse()
#9 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Shared/Stock/ErpStockReader.php(23): Vasco\ErpInventory\Service\Availability\Shared\Erp\ErpAvailabilityService->getRawQuantityForCurrentCountry()
#10 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Product/ProductAvailabilityResolver.php(53): Vasco\ErpInventory\Service\Availability\Shared\Stock\ErpStockReader->getRawQuantity()
#11 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Facade/ProductAvailabilityFacade.php(30): Vasco\ErpInventory\Service\Availability\Product\ProductAvailabilityResolver->resolveAvailability()
#12 /var/www/presta_be/modules/ve_erpinventory/src/Service/Availability/Facade/ProductAvailabilityFacade.php(39): Vasco\ErpInventory\Service\Availability\Facade\ProductAvailabilityFacade->getAvailability()
#13 /var/www/presta_be/modules/ve_erpinventory/src/Application/Legacy/ProductAvailabilityBridge.php(29): Vasco\ErpInventory\Service\Availability\Facade\ProductAvailabilityFacade->hasQuantity()
#14 /var/www/presta_be/modules/ve_analytics/ve_analytics.php(790): Vasco\ErpInventory\Application\Legacy\ProductAvailabilityBridge::hasProductQuantity()
#15 /var/www/presta_be/modules/ve_analytics/ve_analytics.php(686): Ve_analytics->addItem()
#16 /var/www/presta_be/classes/Hook.php(1043): Ve_analytics->hookActionFrontControllerSetVariables()
#17 /var/www/presta_be/classes/Hook.php(418): HookCore::coreCallHook()
#18 /var/www/presta_be/classes/Hook.php(981): HookCore::callHookOn()
#19 /var/www/presta_be/classes/controller/FrontController.php(564): HookCore::exec()
#20 /var/www/presta_be/classes/controller/FrontController.php(607): FrontControllerCore->assignGeneralPurposeVariables()
#21 /var/www/presta_be/controllers/front/listing/CategoryController.php(127): FrontControllerCore->initContent()
#22 /var/www/presta_be/classes/controller/Controller.php(319): CategoryControllerCore->initContent()
#23 /var/www/presta_be/classes/Dispatcher.php(510): ControllerCore->run()
#24 /var/www/presta_be/index.php(29): DispatcherCore->dispatch()
#25 {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, 8, 0]:
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/listing/CategoryController.php(127): FrontControllerCore->initContent()
#4 /var/www/presta_be/classes/controller/Controller.php(319): CategoryControllerCore->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