Bonjour à tous,
Après avoir installé, désintallé, réinstallé... je me trouve vers vous car quand je crée une fiche produit mes photos ne s'affichent pas aussi que ce soit dans le backoffice ou dans le frontoffice
Version de PS : 1.7.6.0
URL du site concerné : http://unjourdenovembre.fr/index.php et la page produit http://unjourdenovembre.fr/index.php?id_product=1&rewrite=sac-a-vrac-001&controller=product
Thème (défaut/perso) : par défaut
Code (original/modifié) : pas de modif si ce n'est pour avoir le mode débug
Hébergement : 1&1
Version de PHP : PHP 7.3
Version de MySQL : MySql 5.7
Navigateur(s) concerné(s) : firefox, google chrome...
Sur ma page d'accueil, j'obtiens le mode debug suivant:
Quote
(1/1) ContextErrorException
Notice: Undefined offset: 0
in ImageRetriever.php line 271
at ImageRetriever->getNoPictureImage(object(Language))in FrontController.php line 1518
at FrontControllerCore->getTemplateVarUrls()in FrontController.php line 496
at FrontControllerCore->assignGeneralPurposeVariables()in FrontController.php line 548
at FrontControllerCore->initContent()in IndexController.php line 37
at IndexControllerCore->initContent()in Controller.php line 291
at ControllerCore->run()in Dispatcher.php line 515
at DispatcherCore->dispatch()in index.php line 28
et sur ma page de produit
Quote
(1/1) ContextErrorException
Notice: Undefined offset: 0
in ImageRetriever.php line 192
at ImageRetriever->getImage(object(Product), '1')in ImageRetriever.php line 90
at ImageRetriever->PrestaShop\PrestaShop\Adapter\Image\{closure}(array('cover' => '1', 'id_image' => '1', 'legend' => '', 'position' => '1'))
at array_map(object(Closure), array(array('cover' => '1', 'id_image' => '1', 'legend' => '', 'position' => '1')))in ImageRetriever.php line 84
at ImageRetriever->getProductImages(array('id_shop_default' => '1', 'id_manufacturer' => '0', 'id_supplier' => '0', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'quantity_discount' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'state' => '1', 'additional_delivery_times' => '1', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'id_category_default' => '2', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ecotax' => 0.0, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 6.0, 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'customizable' => '0', 'text_fields' => '0', 'uploadable_files' => '0', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_default_attribute' => '0', 'advanced_stock_management' => '0', 'date_add' => '2019-08-14 12:45:02', 'date_upd' => '2019-08-19 12:58:15', 'pack_stock_type' => '3', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'link_rewrite' => 'sac-a-vrac-001', 'name' => 'Sac à vrac 001', 'description' => '', 'description_short' => '<p>Tissu récupération</p>', 'available_now' => '', 'available_later' => '', 'id' => 1, 'id_product' => 1, 'out_of_stock' => 2, 'new' => 1, 'id_product_attribute' => '0', 'quantity_wanted' => 1, 'extraContent' => array(), 'allow_oosp' => 0, 'category' => 'accueil', 'category_name' => 'Accueil', 'link' => 'http://unjourdenovembre.fr/index.php?id_product=1&rewrite=sac-a-vrac-001&controller=product', 'attribute_price' => 0, 'price_tax_exc' => 6.0, 'price_without_reduction' => 6.0, 'price_without_reduction_without_tax' => 6.0, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'specific_prices' => array(), 'quantity' => 3, 'quantity_all_versions' => 3, 'id_image' => 'fr-default', 'features' => array(), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0, 'customizations' => array('fields' => array()), 'id_customization' => 0, 'is_customizable' => false, 'show_quantities' => true, 'quantity_label' => 'Produits', 'quantity_discounts' => array(), 'customer_group_discount' => 0.0, 'title' => 'Sac à vrac 001'), object(Language))in ProductLazyArray.php line 589
at ProductLazyArray->fillImages(object(ProductPresentationSettings), array('id_shop_default' => '1', 'id_manufacturer' => '0', 'id_supplier' => '0', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'quantity_discount' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'state' => '1', 'additional_delivery_times' => '1', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'id_category_default' => '2', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ecotax' => 0.0, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 6.0, 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'customizable' => '0', 'text_fields' => '0', 'uploadable_files' => '0', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_default_attribute' => '0', 'advanced_stock_management' => '0', 'date_add' => '2019-08-14 12:45:02', 'date_upd' => '2019-08-19 12:58:15', 'pack_stock_type' => '3', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'link_rewrite' => 'sac-a-vrac-001', 'name' => 'Sac à vrac 001', 'description' => '', 'description_short' => '<p>Tissu récupération</p>', 'available_now' => '', 'available_later' => '', 'id' => 1, 'id_product' => 1, 'out_of_stock' => 2, 'new' => 1, 'id_product_attribute' => '0', 'quantity_wanted' => 1, 'extraContent' => array(), 'allow_oosp' => 0, 'category' => 'accueil', 'category_name' => 'Accueil', 'link' => 'http://unjourdenovembre.fr/index.php?id_product=1&rewrite=sac-a-vrac-001&controller=product', 'attribute_price' => 0, 'price_tax_exc' => 6.0, 'price_without_reduction' => 6.0, 'price_without_reduction_without_tax' => 6.0, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'specific_prices' => array(), 'quantity' => 3, 'quantity_all_versions' => 3, 'id_image' => 'fr-default', 'features' => array(), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0, 'customizations' => array('fields' => array()), 'id_customization' => 0, 'is_customizable' => false, 'show_quantities' => true, 'quantity_label' => 'Produits', 'quantity_discounts' => array(), 'customer_group_discount' => 0.0, 'title' => 'Sac à vrac 001'), object(Language))in ProductLazyArray.php line 107
at ProductLazyArray->__construct(object(ProductPresentationSettings), array('id_shop_default' => '1', 'id_manufacturer' => '0', 'id_supplier' => '0', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'quantity_discount' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'state' => '1', 'additional_delivery_times' => '1', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'id_category_default' => '2', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ecotax' => 0.0, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 6.0, 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'customizable' => '0', 'text_fields' => '0', 'uploadable_files' => '0', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_default_attribute' => '0', 'advanced_stock_management' => '0', 'date_add' => '2019-08-14 12:45:02', 'date_upd' => '2019-08-19 12:58:15', 'pack_stock_type' => '3', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'link_rewrite' => 'sac-a-vrac-001', 'name' => 'Sac à vrac 001', 'description' => '', 'description_short' => '<p>Tissu récupération</p>', 'available_now' => '', 'available_later' => '', 'id' => 1, 'id_product' => 1, 'out_of_stock' => 2, 'new' => 1, 'id_product_attribute' => '0', 'quantity_wanted' => 1, 'extraContent' => array(), 'allow_oosp' => 0, 'category' => 'accueil', 'category_name' => 'Accueil', 'link' => 'http://unjourdenovembre.fr/index.php?id_product=1&rewrite=sac-a-vrac-001&controller=product', 'attribute_price' => 0, 'price_tax_exc' => 6.0, 'price_without_reduction' => 6.0, 'price_without_reduction_without_tax' => 6.0, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'specific_prices' => array(), 'quantity' => 3, 'quantity_all_versions' => 3, 'id_image' => 'fr-default', 'features' => array(), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0, 'customizations' => array('fields' => array()), 'id_customization' => 0, 'is_customizable' => false, 'show_quantities' => true, 'quantity_label' => 'Produits', 'quantity_discounts' => array(), 'customer_group_discount' => 0.0, 'title' => 'Sac à vrac 001'), object(Language), object(ImageRetriever), object(Link), object(PriceFormatter), object(ProductColorsRetriever), object(TranslatorComponent))in ProductPresenter.php line 91
at ProductPresenter->present(object(ProductPresentationSettings), array('id_shop_default' => '1', 'id_manufacturer' => '0', 'id_supplier' => '0', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'quantity_discount' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'state' => '1', 'additional_delivery_times' => '1', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'id_category_default' => '2', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ecotax' => 0.0, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 6.0, 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'customizable' => '0', 'text_fields' => '0', 'uploadable_files' => '0', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_default_attribute' => '0', 'advanced_stock_management' => '0', 'date_add' => '2019-08-14 12:45:02', 'date_upd' => '2019-08-19 12:58:15', 'pack_stock_type' => '3', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'link_rewrite' => 'sac-a-vrac-001', 'name' => 'Sac à vrac 001', 'description' => '', 'description_short' => '<p>Tissu récupération</p>', 'available_now' => '', 'available_later' => '', 'id' => 1, 'id_product' => 1, 'out_of_stock' => 2, 'new' => 1, 'id_product_attribute' => '0', 'quantity_wanted' => 1, 'extraContent' => array(), 'allow_oosp' => 0, 'category' => 'accueil', 'category_name' => 'Accueil', 'link' => 'http://unjourdenovembre.fr/index.php?id_product=1&rewrite=sac-a-vrac-001&controller=product', 'attribute_price' => 0, 'price_tax_exc' => 6.0, 'price_without_reduction' => 6.0, 'price_without_reduction_without_tax' => 6.0, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'specific_prices' => array(), 'quantity' => 3, 'quantity_all_versions' => 3, 'id_image' => 'fr-default', 'features' => array(), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0, 'customizations' => array('fields' => array()), 'id_customization' => 0, 'is_customizable' => false, 'show_quantities' => true, 'quantity_label' => 'Produits', 'quantity_discounts' => array(), 'customer_group_discount' => 0.0, 'title' => 'Sac à vrac 001'), object(Language))in ProductController.php line 1100
at ProductControllerCore->getTemplateVarProduct()in ProductController.php line 347
at ProductControllerCore->initContent()in Controller.php line 291
at ControllerCore->run()in Dispatcher.php line 515
at DispatcherCore->dispatch()in index.php line 28
Je suis un peu perdue sur les corrections à apporter...
Merci de votre aide