ayush Posted May 23, 2013 Share Posted May 23, 2013 Notice: Undefined index: media in /var/www/vhosts/prestashop.com/httpdocs/2014/cache/smarty/compile/ce4f7ef8e7a7ffa261744b05a527913bbcf44e93.file.header.tpl.php on line 108 Notice: Trying to get property of non-object in /var/www/vhosts/prestashop.com/httpdocs/2014/cache/smarty/compile/ce4f7ef8e7a7ffa261744b05a527913bbcf44e93.file.header.tpl.php on line 108 i am getting this message from an hour , i tried to delete all cache from the folder but again its showing same messages , i am really stragule with this , if any one have an idea about it please share me... thanks friends , Link to comment Share on other sites More sharing options...
vekia Posted May 23, 2013 Share Posted May 23, 2013 your issue is related to "Undefined index: media" not in cache, but in header.tpl file located probably in yout theme directory. and I suppose that it is realted to the code: {foreach from=$css_files key=css_uri item=media} <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" /> {/foreach} but im not sure at all Link to comment Share on other sites More sharing options...
ayush Posted May 23, 2013 Author Share Posted May 23, 2013 Notice: Undefined index: id_lang in /var/www/vhosts/#/httpdocs/2014/cache/smarty/compile/6ab553f0e9492fef55fe688bc229c2c4c6c747dd.file.footer.tpl.php on line 96 Notice: Trying to get property of non-object in /var/www/vhosts/#/httpdocs/2014/cache/smarty/compile/6ab553f0e9492fef55fe688bc229c2c4c6c747dd.file.footer.tpl.php on line 96 Vekia check this warning message i am getitng this message all where , i dont know how to find solution i tired a lot ! Link to comment Share on other sites More sharing options...
vekia Posted May 23, 2013 Share Posted May 23, 2013 i checked footer.tpl file but there is no id_lang... so my question is: you use default template? Link to comment Share on other sites More sharing options...
ayush Posted May 23, 2013 Author Share Posted May 23, 2013 No vekia , i am using theme481 template file , but i am getitng all where these message , Link to comment Share on other sites More sharing options...
vekia Posted May 23, 2013 Share Posted May 23, 2013 yes, because you've got footer everywhere :-) can you paste here content of the footer.tpl file? (located in your theme dir) Link to comment Share on other sites More sharing options...
Recommended Posts