Jump to content

Undefined variable: smarty_data (v6.2.6 stock)

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 post
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".


  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...