shookai Posted March 10, 2015 Share Posted March 10, 2015 Hi, Since this morning I've a problem with my website. Without any modification !! Trying to get property of non-object in/home/distrisc/public_html/cache/smarty/compile Anybody can help me please ? The site is working in production... its very important Thx prestashop 1.6.0.6 Link to comment Share on other sites More sharing options...
SLiCK_303 Posted March 10, 2015 Share Posted March 10, 2015 have you cleared your cache, via ftp? Delete all folders in /cache/smarty/compile. Link to comment Share on other sites More sharing options...
shookai Posted March 3, 2016 Author Share Posted March 3, 2016 Yes I did ! still the same error... ;-( any help ? Link to comment Share on other sites More sharing options...
Tahsin_85 Posted February 2, 2017 Share Posted February 2, 2017 (edited) Hi everyone, i have same issue. I get in php error.log always same error. It is working very fine but smarty cache causes following: PHP Notice: Undefined index: cms in /presta/myshop/cache/smarty/compile/03/dd/f3/03ddf3fa6cee4175a3053fc70a3f25a2e94854a9.file.cms.tpl.php on line: <?php if ($_smarty_tpl->tpl_vars['cms']->value->id==29-'mycontactform') {?><?php echo $_smarty_tpl->getSubTemplate ("/home/presta/myshop/themes/mytheme/mysubcontactform.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?> This is how i include my template into cms.tpl: {if $cms->id==29-mycontactform} {include file="/home/presta/myshop/themes/mytheme/mysubcontactform.tpl"} {/if} Edited February 2, 2017 by Tahsin_85 (see edit history) Link to comment Share on other sites More sharing options...
Tahsin_85 Posted February 2, 2017 Share Posted February 2, 2017 (edited) One step forward. This error occurs if i am on category layer. There the index 'cms' doesn't exists, because i don't get the id of cms page Edited February 2, 2017 by Tahsin_85 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now