Jump to content

Undefined variable: smarty_data (v6.2.6 stock)


Dirty Butter

Recommended Posts

Each refresh of the Admin Error Log creates this entry again - on stock test store as well as my own edited stores.

[<strong>Notice</strong>] XXX/sources/settings.errorlog.inc.php:69 - Undefined variable: smarty_data

This may have been happening for some time, but I'm more conscious of error logs when testing an upgrade.

 

Link to comment
Share on other sites

This is a consequence of CubeCart's programming style: PHP allows one to write code using variables that weren't initialized. So, the first time PHP attempts to fetch the contents of an uninitialized variable, a Notice is logged. Absolutely no harm is being done.

These notices help when things may not be working right and you see "Undefined variable: smary_data".

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...