Jump to content
Webmaster PDB

BUG site erreur : ContextErrorException

Recommended Posts

Bonjour à tous,

Suite à l'installation hier d'un module newsletters popup de chez waterthemes.com, mon site mouline souvent sur une jolie page blanche. Aujourd’hui le front-office se charge bien et j'arrive a entrer dans le back-office, mais vu le comportement/vitesse du site il y a quelque chose qui ne va pas bien.

Est-ce que quelqu'un pourriez m'aider à rattraper le coup ? :blush:

Voici quelques infos sur ma config :

 

Version de PS : 1.7.4.4
URL du site concerné : mon site web
Thème (défaut/perso) : Jewellery Store (PRSADD015) de TemplateMela
Hébergement : OVH mutualisé

 

En mode Debug il m'affiche les erreurs suivants:

 

(1/1) ContextErrorException
Notice: Undefined index: reference_to_display

in ebd78bcafe2be2218aff8faf1079428718c84744_2.file.product.tpl.php line 208
at Block_7531578155cece942373ae1_89822363->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_7531578155cece942373ae1_89822363), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_7531578155cece942373ae1_89822363))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_7531578155cece942373ae1_89822363', 'product_miniature_item')
in ebd78bcafe2be2218aff8faf1079428718c84744_2.file.product.tpl.php line 29
at content_5cece942392943_70699407(object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()
in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('file:catalog/_partials/miniatures/product.tpl', 'ps_featuredproducts|1|1|1|1|8', null, 0, 3600, array('product' => array('id_product' => '20', 'id_supplier' => '0', 'id_manufacturer' => '0', 'id_category_default' => '60', 'id_shop_default' => '1', 'id_tax_rules_group' => '1', 'on_sale' => '0', 'online_only' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'ecotax' => array('value' => '0,00 €', 'amount' => '0.000000', 'rate' => 0.0), 'quantity' => 8, 'minimal_quantity' => '1', 'low_stock_threshold' => '3', 'low_stock_alert' => '1', 'price' => '14,00 €', 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '21.000000', 'height' => '15.000000', 'depth' => '2.000000', 'weight' => '31.000000', 'out_of_stock' => '2', 'additional_delivery_times' => '1', 'quantity_discount' => '0', 'customizable' => '0', 'uploadable_files' => '0', 'text_fields' => '0', 'active' => '1', 'redirect_type' => '404', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => false, 'show_price' => true, 'indexed' => '1', 'visibility' => 'both', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'cache_default_attribute' => '0', 'date_add' => '2018-11-12 23:09:03', 'date_upd' => '2019-05-23 22:15:21', 'advanced_stock_management' => '0', 'pack_stock_type' => '3', 'state' => '1', 'id_shop' => '1', 'id_lang' => '4', 'description' => '', 'description_short' => '<p><span style="color:#333333;font-family:\'Maven Pro\', \'Noto Sans\', sans-serif;font-size:14px;">Collier sautoir multi-rang avec des breloques et ses pompons roses.</span></p>', 'link_rewrite' => 'sautoir-elsa', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => 'Collier long fantaisie pour femme', 'name' => 'Sautoir "Elsa"', 'available_now' => '', 'available_later' => '', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'new' => '0', 'id_product_attribute' => '0', 'product_attribute_minimal_quantity' => null, 'id_image' => '20-83', 'legend' => '', 'manufacturer_name' => null, 'category_default' => 'Sautoirs', 'orderprice' => '11.666667', 'allow_oosp' => 0, 'category' => 'sautoirs', 'category_name' => 'Sautoirs', 'link' => 'https://www.palomadebahia.com/20-sautoir-elsa.html', 'attribute_price' => 0, 'price_tax_exc' => 11.666667, 'price_without_reduction' => 14.0, 'reduction' => 0.0, 'specific_prices' => array(), 'quantity_all_versions' => 8, 'features' => array(array('name' => 'Types de métal:', 'value' => 'Fantaisie', 'id_feature' => '9'), array('name' => 'Détails:', 'value' => 'Pompons', 'id_feature' => '3'), array('name' => 'Détails:', 'value' => 'Breloques ', 'id_feature' => '3'), array('name' => 'Multi-rang', 'value' => 'Triple', 'id_feature' => '10')), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 20.0, 'tax_name' => 'TVA FR 20%', 'ecotax_rate' => 0.0, 'unit_price' => '', 'id' => '20', 'attributes' => array(), 'weight_unit' => 'g', 'images' => array(array('bySize' => array('cart_default' => array('url' => 'https://www.palomadebahia.com/83-cart_default/sautoir-elsa.jpg', 'width' => 98, 'height' => 118), 'small_default' => array('url' => 'https://www.palomadebahia.com/83-small_default/sautoir-elsa.jpg', 'width' => 98, 'height' => 118), 'home_default' => array('url' => 'https://www.palomadebahia.com/83-home_default/sautoir-elsa.jpg', 'width' => 263, 'height' => 319), 'large_default' => array('url' => 'https://www.palomadebahia.com/83-large_default/sautoir-elsa.jpg', 'width' => 367, 'height' => 444), 'medium_default' => array('url' => 'https://www.palomadebahia.com/83-medium_default/sautoir-elsa.jpg', 'width' => 452, 'height' => 452)), 'small' => array('url' => 'https://www.palomadebahia.com/83-cart_default/sautoir-elsa.jpg', 'width' => 98, 'height' => 118), 'medium' => array('url' => 'https://www.palomadebahia.com/83-home_default/sautoir-elsa.jpg', 'width' => 263, 'height' => 319), 'large' => array('url' => 'https://www.palomadebahia.com/83-medium_default/sautoir-elsa.jpg', 'width' => 452, 'height' => 452), 'legend' => '', 'cover' => '1', 'id_image' => '83', 'position' => '1', 'associatedVariants' => array()), array('bySize' => array('cart_default' => array('url' => 'https://www.palomadebahia.com/84-cart_default/sautoir-elsa.jpg', 'width' => 98, 'height' => 118), 'small_default' => array('url' => 'https://www.palomadebahia.com/84-small_default/sautoir-elsa.jpg', 'width' => 98, 'height' => 118), 'home_default' => array('url' => 'https://www.palomadebahia.com/84-home_default/sautoir-elsa.jpg', 'width' => 263, 'height' => 319), 'large_default' => array('url' => 'https://www.palomadebahia.com/84-large_default/sautoir-elsa.jpg', 'width' => 367, 'height' => 444), 'medium_default' => array('url' => 'https://www.palomadebahia.com/84-medium_default/sautoir-elsa.jpg', 'width' => 452, 'height' => 452)), 'small' => array('url' => 'https://www.palomadebahia.com/84-cart_default/sautoir-elsa.jpg', 'width' => 98, 'height' => 118), 'medium' => array('url' => 'https://www.palomadebahia.com/84-home_default/sautoir-elsa.jpg', 'width' => 263, 'height' => 319), 'large' => array('url' => 'https://www.palomadebahia.com/84-medium_default/sautoir-elsa.jpg', 'width' => 452, 'height' => 452), 'legend' => '', 'cover' => null, 'id_image' => '84', 'position' => '2', 'associatedVariants' => array())), 'cover' => array('bySize' => array('cart_default' => array('url' => 'https://www.palomadebahia.com/83-cart_default/sautoir-elsa.jpg', 'width' => 98, 'height' => 118), 'small_default' => array('url' => 'https://www.palomadebahia.com/83-small_default/sautoir-elsa.jpg', 'width' => 98, 'height' => 118), 'home_default' => array('url' => 'https://www.palomadebahia.com/83-home_default/sautoir-elsa.jpg', 'width' => 263, 'height' => 319), 'large_default' => array('url' => 'https://www.palomadebahia.com/83-large_default/sautoir-elsa.jpg', 'width' => 367, 'height' => 444), 'medium_default' => array('url' => 'https://www.palomadebahia.com/83-medium_default/sautoir-elsa.jpg', 'width' => 452, 'height' => 452)), 'small' => array('url' => 'https://www.palomadebahia.com/83-cart_default/sautoir-elsa.jpg', 'width' => 98, 'height' => 118), 'medium' => array('url' => 'https://www.palomadebahia.com/83-home_default/sautoir-elsa.jpg', 'width' => 263, 'height' => 319), 'large' => array('url' => 'https://www.palomadebahia.com/83-medium_default/sautoir-elsa.jpg', 'width' => 452, 'height' => 452), 'legend' => '', 'cover' => '1', 'id_image' => '83', 'position' => '1', 'associatedVariants' => array()), 'url' => 'https://www.palomadebahia.com/20-sautoir-elsa.html', 'canonical_url' => 'https://www.palomadebahia.com/20-sautoir-elsa.html', 'has_discount' => false, 'discount_type' => null, 'discount_percentage' => null, 'discount_percentage_absolute' => null, 'discount_amount' => null, 'discount_amount_to_display' => null, 'price_amount' => 14.0, 'regular_price_amount' => 14.0, 'regular_price' => '14,00 €', 'discount_to_display' => null, 'unit_price_full' => '', 'add_to_cart_url' => 'https://www.palomadebahia.com/panier?add=1&id_product=20&id_product_attribute=0&token=0ed26f11934f03a120b99d08a3c8d4f9', 'main_variants' => array(), 'flags' => array(), 'labels' => array('tax_short' => 'TTC', 'tax_long' => 'TTC'), 'show_availability' => true, 'availability_date' => null, 'availability_message' => '', 'availability' => 'available', 'delivery_information' => '', 'quantity_discounts' => array(), 'embedded_attributes' => array('id_product' => '20', 'id_supplier' => '0', 'id_manufacturer' => '0', 'id_category_default' => '60', 'id_shop_default' => '1', 'on_sale' => '0', 'online_only' => '0', 'ecotax' => '0.000000', 'quantity' => 8, 'minimal_quantity' => '1', 'low_stock_threshold' => '3', 'low_stock_alert' => '1', 'price' => 14.0, 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'reference' => '', 'out_of_stock' => '2', 'customizable' => '0', 'uploadable_files' => '0', 'text_fields' => '0', 'redirect_type' => '404', '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', 'is_virtual' => '0', 'cache_default_attribute' => '0', 'date_add' => '2018-11-12 23:09:03', 'date_upd' => '2019-05-23 22:15:21', 'advanced_stock_management' => '0', 'pack_stock_type' => '3', 'description' => '', 'description_short' => '<p><span style="color:#333333;font-family:\'Maven Pro\', \'Noto Sans\', sans-serif;font-size:14px;">Collier sautoir multi-rang avec des breloques et ses pompons roses.</span></p>', 'link_rewrite' => 'sautoir-elsa', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => 'Collier long fantaisie pour femme', 'name' => 'Sautoir "Elsa"', 'available_now' => '', 'available_later' => '', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'new' => '0', 'id_product_attribute' => '0', 'id_image' => '20-83', 'allow_oosp' => 0, 'category' => 'sautoirs', 'category_name' => 'Sautoirs', 'link' => 'https://www.palomadebahia.com/20-sautoir-elsa.html', 'attribute_price' => 0, 'price_tax_exc' => 11.666667, 'price_without_reduction' => 14.0, 'reduction' => 0.0, 'specific_prices' => array(), 'quantity_all_versions' => 8, 'features' => array(array('name' => 'Types de métal:', 'value' => 'Fantaisie', 'id_feature' => '9'), array('name' => 'Détails:', 'value' => 'Pompons', 'id_feature' => '3'), array('name' => 'Détails:', 'value' => 'Breloques ', 'id_feature' => '3'), array('name' => 'Multi-rang', 'value' => 'Triple', 'id_feature' => '10')), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 20.0, 'tax_name' => 'TVA FR 20%', 'ecotax_rate' => 0.0, 'unit_price' => 0), 'grouped_features' => array('Types de métal:' => array('name' => 'Types de métal:', 'value' => 'Fantaisie', 'id_feature' => '9'), 'Détails:' => array('name' => 'Détails:', 'value' => 'Breloques Pompons', 'id_feature' => '3'), 'Multi-rang' => array('name' => 'Multi-rang', 'value' => 'Triple', 'id_feature' => '10')), 'seo_availability' => 'https://schema.org/InStock')), 0, true)
in fa6cc378d2942c8857b89d6bca728048c0caeedd_2.module.psfeaturedproductsviewste.php line 42
at content_5cece94235c331_26108149(object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template->render(false, 0)
in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, null, null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)
in SmartyDevTemplate.php line 41
at SmartyDevTemplateCore->fetch()
in Module.php line 2282
at ModuleCore->fetch('module:ps_featuredproducts/views/templates/hook/ps_featuredproducts.tpl', 'ps_featuredproducts|1|1|1|1|8')
in ps_featuredproducts.php line 252
at Ps_FeaturedProducts->renderWidget('displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart)))
in Hook.php line 929
at HookCore::coreRenderWidget(object(Ps_FeaturedProducts), 'displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart)))
in Hook.php line 881
at HookCore::exec('displayHome')
in IndexController.php line 39
at IndexControllerCore->initContent()
in Controller.php line 255
at ControllerCore->run()
in Dispatcher.php line 428
at DispatcherCore->dispatch()
in index.php line 28

 

Edited by David Andres (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More