manojdhanani Posted September 16, 2014 Share Posted September 16, 2014 I Had Install Prestashop 1.6.0.9 and after Enable advanced stock management i am getting this error: PHP Notice: Undefined index: PS_STOCK_MANAGEMENT in E:\HostingSpaces\dhanani\store.sabatrolley.com\wwwroot\cache\smarty\compile\a0\ef\74\a0ef74336f9fcef45d5e27f9cc1d93143d179d4f.file.dashboard_zone_one.tpl.php on line 116 PHP Notice: Trying to get property of non-object in E:\HostingSpaces\dhanani\store.sabatrolley.com\wwwroot\cache\smarty\compile\a0\ef\74\a0ef74336f9fcef45d5e27f9cc1d93143d179d4f.file.dashboard_zone_one.tpl.php on line 116 I cannot get to back office and my client require stock management of its products can any one help. Link to comment Share on other sites More sharing options...
nutxlago Posted September 16, 2014 Share Posted September 16, 2014 (edited) It seems it is reading from cache. Try to delete a0ef74336f9fcef45d5e27f9cc1d93143d179d4f.file.dashboard_zone_one.tpl.php in cache. Edited: Route is the one you have pasted: E:\HostingSpaces\dhanani\store.sabatrolley.com\wwwroot\cache\smarty\compile\a0\ef\74\a0ef74336f9fcef45d5e27f9cc1d93143d179d4f.file.dashboard_zone_one.tpl.php Edited September 16, 2014 by nutxlago (see edit history) Link to comment Share on other sites More sharing options...
nutxlago Posted September 16, 2014 Share Posted September 16, 2014 Then, do not forget to deactivate debug mode in /config/defines.inc.php or php notices will keep on showing everywhere in the shop. (Note them, check if important -sometimes they are) and switch debug off. (P.S.: You can say Ps to send you errors by email so that you are always informed of your PS health) Link to comment Share on other sites More sharing options...
manojdhanani Posted September 16, 2014 Author Share Posted September 16, 2014 Thanks For your Reply After Deleting the file as mention now it give me this error: PHP Notice: Undefined index: PS_STOCK_MANAGEMENT in E:\HostingSpaces\dhanani\store.sabatrolley.com\wwwroot\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 116PHP Notice: Trying to get property of non-object in E:\HostingSpaces\dhanani\store.sabatrolley.com\wwwroot\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code on line 116 Now??? Link to comment Share on other sites More sharing options...
El Patron Posted September 16, 2014 Share Posted September 16, 2014 turn off error reporting as suggested by nutxlago, these are notices and do not stop script. after turning off ps debug mode, see if everything functions as you desire. Link to comment Share on other sites More sharing options...
Recommended Posts