Skontaktuj się z nami

telefon: +48 888 830 888
mail: biuro@prestaguru.pl

Jak naprawić błąd w PrestaShop ContextErrorException in ImageRetriever.php

biała strona w prestashop

Jak naprawić błąd w PrestaShop ContextErrorException in ImageRetriever.php

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

 

Jak-naprawic-blad-ContextErrorException-prestashop-1

Jak-naprawic-blad-ContextErrorException-prestashop-1

 

uruchom poniższą komendę SQL

 

INSERT INTO `{PREFIX}_image_type` (`id_image_type`  , `name`, `width`, `height`, `products`, `categories`, `manufacturers`, `suppliers`, `stores`)
VALUES
	(10, 'large_banner', 960, 400, 0, 1, 0, 0, 0),
	(9, 'product_listing', 220, 220, 1, 1, 1, 1, 0),
	(8, 'category_default', 960, 350, 0, 1, 0, 0, 0),
	(7, 'home_default', 250, 250, 1, 0, 0, 0, 0),
	(6, 'large_default', 500, 500, 1, 0, 0, 0, 0),
	(5, 'medium_default', 300, 300, 1, 1, 1, 1, 0),
	(4, 'small_default', 125, 125, 1, 1, 1, 1, 0),
	(3, 'cart_default', 80, 80, 1, 0, 0, 0, 0);

Jeżeli nie wiesz jak to zrobić wykup naszą usługę
BŁĘDY PRESTASHOP

którą znajdziesz w w dziale POMOC TECHNICZNA PRESTASHOP
a następnie wybierz produkt : Naprawię wszelkiego rodzaju błędy i problemy na stronie PrestaShop

https://prestaguru.pl/blog/sklep/pomoc-techniczna-prestashop/naprawie-bledy-i-problemy-na-prestashop.html

PrestaGuru.pl - Zaufaj Profesjonalistom
PrestaGuru
źródło: https://github.com/PrestaShop/PrestaShop/issues/17539
Support Prestaguru
support@prestaguru.pl


Włącz powiadomienia OK Nie dziękuję