Fatal error: Uncaught UnexpectedValueException: The stream or file "/var/www/html/prestashop/var/cache/dev//../../logs/blgconnector.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: BLG article lookup Context: {"field":"id","value":"289717","has_impersonation_token":false} in /var/www/html/prestashop/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:157 Stack trace: #0 /var/www/html/prestashop/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(48): Monolog\Handler\StreamHandler->write() #1 /var/www/html/prestashop/vendor/monolog/monolog/src/Monolog/Logger.php(400): Monolog\Handler\AbstractProcessingHandler->handle() #2 /var/www/html/prestashop/vendor/monolog/monolog/src/Monolog/Logger.php(612): Monolog\Logger->addRecord() #3 /var/www/html/prestashop/modules/blgconnector/src/Service/CurlService.php(876): Monolog\Logger->info() #4 /var/www/html/prestashop/modules/blgconnector/src/Service/CurlService.php(1111): BLGConnector\Service\CurlService->getArticleBy() #5 /var/www/html/prestashop/modules/blgconnector/blgconnector.php(1522): BLGConnector\Service\CurlService->getPrice() #6 /var/www/html/prestashop/modules/blgconnector/blgconnector.php(1477): BLGConnector->fetchPresentedProductPriceData() #7 /var/www/html/prestashop/modules/blgconnector/blgconnector.php(1327): BLGConnector->setRealPrice() #8 /var/www/html/prestashop/classes/Hook.php(1218): BLGConnector->hookActionPresentProductListing() #9 /var/www/html/prestashop/classes/Hook.php(434): HookCore::coreCallHook() #10 /var/www/html/prestashop/classes/Hook.php(1109): HookCore::callHookOn() #11 /var/www/html/prestashop/src/Adapter/Presenter/Product/ProductListingPresenter.php(41): HookCore::exec() #12 /var/www/html/prestashop/classes/controller/ProductListingFrontController.php(94): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter->present() #13 /var/www/html/prestashop/classes/controller/ProductListingFrontController.php(356): ProductListingFrontControllerCore->prepareMultipleProductsForTemplate() #14 /var/www/html/prestashop/classes/controller/ProductListingFrontController.php(630): ProductListingFrontControllerCore->getProductSearchVariables() #15 /var/www/html/prestashop/controllers/front/listing/CategoryController.php(164): ProductListingFrontControllerCore->doProductSearch() #16 /var/www/html/prestashop/classes/controller/Controller.php(308): CategoryControllerCore->initContent() #17 /var/www/html/prestashop/classes/Dispatcher.php(468): ControllerCore->run() #18 /var/www/html/prestashop/index.php(66): DispatcherCore->dispatch() #19 {main} Next PrestaShop\PrestaShop\Core\Exception\CoreException: The stream or file "/var/www/html/prestashop/var/cache/dev//../../logs/blgconnector.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: BLG article lookup Context: {"field":"id","value":"289717","has_impersonation_token":false} in /var/www/html/prestashop/classes/Hook.php:456 Stack trace: #0 /var/www/html/prestashop/classes/Hook.php(1109): HookCore::callHookOn() #1 /var/www/html/prestashop/src/Adapter/Presenter/Product/ProductListingPresenter.php(41): HookCore::exec() #2 /var/www/html/prestashop/classes/controller/ProductListingFrontController.php(94): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter->present() #3 /var/www/html/prestashop/classes/controller/ProductListingFrontController.php(356): ProductListingFrontControllerCore->prepareMultipleProductsForTemplate() #4 /var/www/html/prestashop/classes/controller/ProductListingFrontController.php(630): ProductListingFrontControllerCore->getProductSearchVariables() #5 /var/www/html/prestashop/controllers/front/listing/CategoryController.php(164): ProductListingFrontControllerCore->doProductSearch() #6 /var/www/html/prestashop/classes/controller/Controller.php(308): CategoryControllerCore->initContent() #7 /var/www/html/prestashop/classes/Dispatcher.php(468): ControllerCore->run() #8 /var/www/html/prestashop/index.php(66): DispatcherCore->dispatch() #9 {main} thrown in /var/www/html/prestashop/classes/Hook.php on line 456