Jak naprawić błąd w PrestaShop ContextErrorException in ImageRetriever.php
Jeżeli widzisz taki błąd jak poniżej
ContextErrorException
Notice: Undefined offset: 0
in ImageRetriever.php line 274
at ImageRetriever->getNoPictureImage(object(Language))in FrontController.php line 1518
at FrontControllerCore->getTemplateVarUrls()in FrontController.php line 490
at FrontControllerCore->assignGeneralPurposeVariables()in FrontController.php line 549
at FrontControllerCore->initContent()in IndexController.php line 37
at IndexControllerCore->initContent()in Controller.php line 292
at ControllerCore->run()in Dispatcher.php line 515
at DispatcherCore->dispatch()in index.php line 28
[caption id="attachment_15924" align="aligncenter" width="1026"] Jak-naprawic-blad-ContextErrorException-prestashop-1[/caption]
uruchom poniższą komendę SQL
INSERT INTO `{PREFIX}_image_type` (`id_image_type` , `name`, `width`, `height`, `products`, `categories`, `manufacturers`, `suppliers`, `stores`)
VALUES
(10,...