Jump to content

Smarty error undefined index: link


alexscosta76

Recommended Posts

Hello,

I'm having this issues in my page:

<b>Notice</b>:  Undefined index: link in <b>/home/lumie325/public_html/cache/smarty/compile/d6/06/d9/d606d9a306ad357e848045e312e5000550a4799e.file.product-list.tpl.php</b> on line <b>89</b><br />
<b>Notice</b>:  Undefined index: link in <b>/home/lumie325/public_html/cache/smarty/compile/d6/06/d9/d606d9a306ad357e848045e312e5000550a4799e.file.product-list.tpl.php</b> on line <b>103</b><br />
<b>Notice</b>:  Undefined index: link in <b>/home/lumie325/public_html/cache/smarty/compile/d6/06/d9/d606d9a306ad357e848045e312e5000550a4799e.file.product-list.tpl.php</b> on line <b>104</b><br />
<b>Notice</b>:  Undefined index: link in <b>/home/lumie325/public_html/cache/smarty/compile/d6/06/d9/d606d9a306ad357e848045e312e5000550a4799e.file.product-list.tpl.php</b> on line <b>109</b><br />
<b>Notice</b>:  Undefined index: link in <b>/home/lumie325/public_html/cache/smarty/compile/d6/06/d9/d606d9a306ad357e848045e312e5000550a4799e.file.product-list.tpl.php</b> on line <b>110</b><br />
"><b>Notice</b>:  Undefined index: link in <b>/home/lumie325/public_html/cache/smarty/compile/d6/06/d9/d606d9a306ad357e848045e312e5000550a4799e.file.product-list.tpl.php</b> on line <b>140</b><br />
" <b>Notice</b>:  Undefined index: customizable in <b>/home/lumie325/public_html/cache/smarty/compile/d6/06/d9/d606d9a306ad357e848045e312e5000550a4799e.file.product-list.tpl.php</b> on line <b>189</b><br /
Notice</b>:  Undefined index: link in <b>/home/lumie325/public_html/cache/smarty/compile/d6/06/d9/d606d9a306ad357e848045e312e5000550a4799e.file.product-list.tpl.php</b> on line <b>217</b><br />
<b>Notice</b>:  Undefined index: link in <b>/home/lumie325/public_html/cache/smarty/compile/d6/06/d9/d606d9a306ad357e848045e312e5000550a4799e.file.product-list.tpl.php</b> on line <b>275</b><br />

Yesterday i update a module, but i don't know wish one.

I alreadey tried, Disable the smarty cache, clear the cash, recompile the cache file, but nothing.

While the shopping cart is empty everything works fine, but when i put a product in it, the issue starts, i can't vizualize nothing in the other categories. If I empty the shopping cart

everything works. I really don't know what to do.

versão do PrestaShop 1.6.1.17

Versão PHP 5.6.30

The theme is for version 1.6 of Prestashop.

URL http://lumierepresentes.com.br/

Thanks for any help.

Link to comment
Share on other sites

  • 6 months later...

I had this problem in a module when I started working with prestashop.

Reason: 

 $helper->tpl_vars = array(
        'fields_value' => array(

             "FIELD_FORM_IPUT_1" => "VALUE",
             "FIELD_FORM_IPUT_2" => "VALUE"
             "FIELD_FORM_IPUT_3" => "VALUE"

        ),
        'languages'    => $this->context->controller->getLanguages(),
        'id_language'  => $this->context->language->id
 ); 

fields_value  of HelperForm  must not be an empty array(). It must always be populated with values!

OR !!!

 $helper->tpl_vars = array(
        'fields_value' => array(

             "FIELD_FORM_IPUT_1" => "",
             "FIELD_FORM_IPUT_2" => ""
             "FIELD_FORM_IPUT_3" => ""

        ),
        'languages'    => $this->context->controller->getLanguages(),
        'id_language'  => $this->context->language->id
 ); 

Link to comment
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...