Jump to content
ibrahimovich87

Please Help me ...Smarty Error

Recommended Posts

I've got this error....but i was modifing only a page....why???

P.S. 1.7.3.0

1/1ContextErrorException in smarty_internal_templatebase.php(157) : eval()'d code line 54:Notice: Undefined index: id_labgroupcategory

  1. in smarty_internal_templatebase.php(157) : eval()'d code line 54
  2. at ErrorHandler->handleError('8', 'Undefined index: id_labgroupcategory', '/home/gianlu11/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code', '54', array('_smarty_tpl' => object(SmartyDevTemplate), '_from' => array(array('cat_info' => array(array('id_labcategory' => '1', 'id_labgroupcategory' => '1', 'id_shop' => '1', 'id_cat' => '156', 'cat_icon' => '', 'cat_color' => '', 'manufacture' => array(), 'position' => '1', 'show_img' => '0', 'special_prod' => '0', 'active' => '1', 'id_lang' => '1', 'cat_desc' => '', 'cat_banner' => '', 'cat_name' => 'Nerf', 'id_image' => false, 'link_rewrite' => 'nerf', 'sub_cat' => array(), 'product_list' => array(array('id_product' => '410', 'id_supplier' => '0', 'id_manufacturer' => '25', 'id_category_default' => '109', 'id_shop_default' => '1', 'id_tax_rules_group' => '1', 'on_sale' => '0', 'online_only' => '0', 'ean13' => '5010993533411', 'isbn' => '', 'upc' => '', 'ecotax' => array('value' => '0,00 €', 'amount' => '0.000000', 'rate' => '0'), 'quantity' => '0', 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => '24,90 €', 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'reference' => '71001045', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '1.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' => null, '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' => null, 'date_add' => '2018-06-22 15:13:05', 'date_upd' => '2018-07-10 21:03:51', 'advanced_stock_management' => '0', 'pack_stock_type' => '3', 'state' => '1', 'id_shop' => '1', 'id_lang' => '1', 'description' => '<p>Scopri il Sorpresovo per la Pasqua di Nerf. Tante sorprese ti aspettano per fare felici i bambini di ogni età.</p>', 'description_short' => '', 'link_rewrite' => 'super-pasqualone-2018-transformers', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'name' => 'Sorpresovo 2018 Nerf', 'available_now' => 'Disponibile', 'available_later' => 'Non Disponibile', 'delivery_in_stock' => null, 'delivery_out_stock' => null, 'new' => '1', 'id_product_attribute' => '0', 'product_attribute_minimal_quantity' => null, 'id_image' => '410-877', 'legend' => 'Sorpresovo 2018 Nerf', 'manufacturer_name' => 'Hasbro', 'category_default' => 'Pasqua', 'orderprice' => '20.409836', 'allow_oosp' => '0', 'category' => 'pasqua', 'category_name' => 'Pasqua', 'link' => 'https://www.mikogiocattoli.com/it/pasqua/410-super-pasqualone-2018-transformers-5010993533411.html', 'attribute_price' => '0', 'price_tax_exc' => '20.409836', 'price_without_reduction' => '24.9', 'reduction' => '0', 'specific_prices' => array(), 'quantity_all_versions' => '0', 'features' => array(), 'attachments' => array(), 'virtual' => '0', 'pack' => '0', 'packItems' => array(), 'nopackprice' => '0', 'customization_required' => false, 'rate' => '22', 'tax_name' => 'IVA IT 22%', 'ecotax_rate' => '0', 'unit_price' => '', 'id' => '410', 'attributes' => array(), 'weight_unit' => 'kg', 'images' => array(array('bySize' => array('small_default' => array('url' => 'https://www.mikogiocattoli.com/877-small_default/super-pasqualone-2018-transformers.jpg', 'width' => '98', 'height' => '98'), 'cart_default' => array('url' => 'https://www.mikogiocattoli.com/877-cart_default/super-pasqualone-2018-transformers.jpg', 'width' => '125', 'height' => '125'), 'home_default' => array('url' => 'https://www.mikogiocattoli.com/877-home_default/super-pasqualone-2018-transformers.jpg', 'width' => '250', 'height' => '250'), 'medium_default' => array('url' => 'https://www.mikogiocattoli.com/877-medium_default/super-pasqualone-2018-transformers.jpg', 'width' => '452', 'height' => '452'), 'large_default' => array('url' => 'https://www.mikogiocattoli.com/877-large_default/super-pasqualone-2018-transformers.jpg', 'width' => '600', 'height' => '600')), 'small' => array('url' => 'https://www.mikogiocattoli.com/877-small_default/super-pasqualone-2018-transformers.jpg', 'width' => '98', 'height' => '98'), 'medium' => array('url' => 'https://www.mikogiocattoli.com/877-home_default/super-pasqualone-2018-transformers.jpg', 'width' => '250', 'height' => '250'), 'large' => array('url' => 'https://www.mikogiocattoli.com/877-large_default/super-pasqualone-2018-transformers.jpg', 'width' => '600', 'height' => '600'), 'legend' => 'Sorpresovo 2018 Nerf', 'cover' => '1', 'id_image' => '877', 'position' => '1', 'associatedVariants' => array())), 'cover' => array('bySize' => array('small_default' => array('url' => 'https://www.mikogiocattoli.com/877-small_default/super-pasqualone-2018-transformers.jpg', 'width' => '98', 'height' => '98'), 'cart_default' => array('url' => 'https://www.mikogiocattoli.com/877-cart_default/super-pasqualone-2018-transformers.jpg', 'width' => '125', 'height' => '125'), 'home_default' => array('url' => 'https://www.mikogiocattoli.com/877-home_default/super-pasqualone-2018-transformers.jpg', 'width' => '250', 'height' => '250'), 'medium_default' => array('url' => 'https://www.mikogiocattoli.com/877-medium_default/super-pasqualone-2018-transformers.jpg', 'width' => 

 

Share this post


Link to post
Share on other sites

Hi,

You are trying to use a variable which is NOT loaded in that template, just need take a look at the error and you will discover that by yourself.

Undefined index: id_labgroupcategory

 

Regards!

Share this post


Link to post
Share on other sites
1 hour ago, Rolige said:

Hi,

You are trying to use a variable which is NOT loaded in that template, just need take a look at the error and you will discover that by yourself.


Undefined index: id_labgroupcategory

 

Regards!

Hi the problem is that i not modify anythink...i was only creating a normal site page using backoffice....so i don't know...what i have to do..

Share this post


Link to post
Share on other sites
19 hours ago, ibrahimovich87 said:

fucking debug mode..... -.- ....i've disabled it....now woking thank you

Thats because its a notice and not a fatal error, but you need to know that there is an error there.

Share this post


Link to post
Share on other sites
16 hours ago, Rolige said:

Thats because its a notice and not a fatal error, but you need to know that there is an error there.

so can you help me to check  where is the problem?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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