user3702612 user3702612 -4 years ago 334
Smarty Question

Smarty Cache undefined index error prestashop

Notice on line 349 in file

C:\xampp\htdocs\sunrayzz\cache\smarty\compile\b3\28\62\b3286241c53ed18bb03074a03880792b750ec66b.file.form.tpl.php
[8] Undefined index: label


Notice on line 600 in file

C:\xampp\htdocs\sunrayzz\cache\smarty\compile\b3\28\62\b3286241c53ed18bb03074a03880792b750ec66b.file.form.tpl.php
[8] Undefined index: page_item


I Keep getting this errors. even I turned off my compile in Performance in back office. Please help.

Answer Source

This notices are being generated when there are undefined variables in templates. Check the file from the specified location and see which is the original template.

You can suppress this with:

{if isset($label)}
...
{/if}

etc...

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download