DARKF3D3 Posted October 13, 2015 Share Posted October 13, 2015 This is the warn line i just found into my error log: [Sun Oct 11 03:12:25 2015] [warn] [client 144.121.22.117] mod_fcgid: stderr: PHP Notice: Undefined index: (State:name) in /var/www/host/my-website.com/my-website.com/cache/smarty/compile/a8/ed/fe/a8edfe327e7d9a4e1fdd6267ab2c4866b8c32054.file.addresses.tpl.php on line 92, referer: http://www.my-website.com/my-account I downloaded this file, and at the top of it i found this line: compiled from "/var/www/vhosts/dottorgadget.it/store.dottorgadget.it/themes/dottorgadget/addresses.tpl" While this is the line 92 of the cache file: <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['address']->value['formated'][smarty_modifier_replace($_smarty_tpl->tpl_vars['key']->value,',','')], ENT_QUOTES, 'UTF-8', true);?>And this is the same line into the addresses.tpl file:{$address.formated[$key|replace:',':'']|escape:'html':'UTF-8'} Do you know how can I fix this? Thank you Link to comment Share on other sites More sharing options...
tuk66 Posted October 14, 2015 Share Posted October 14, 2015 Forget it. It is a PHP Notice. Set weaker level in the php.ini file (error_reporting). Warning or Errors are enough for live website. Notices are for development. 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