Jump to content

Smarty notices in error log


Recommended Posts

Pretty much every page request in the admin area gives me ~10 duplicates of php notices

PHP message: PHP Notice:  Undefined index: mediumSize in /var/www/mysite/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 53
PHP message: PHP Notice:  Trying to get property of non-object in /var/www/mysite/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 53
PHP message: PHP Notice:  Undefined index: mediumSize in /var/www/mysite/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 54
PHP message: PHP Notice:  Trying to get property of non-object in /var/www/mysite/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 54
PHP message: PHP Notice:  Undefined index: mediumSize in /var/www/mysite/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 53
PHP message: PHP Notice:  Trying to get property of non-object in /var/www/mysite/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 53
PHP message: PHP Notice:  Undefined index: mediumSize in /var/www/mysite/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 54
PHP message: PHP Notice:  Trying to get property of non-object in /var/www/mysite/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 54
PHP message: PHP Notice:  Undefined index: mediumSize in /var/www/mysite/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 53
PHP message: PHP Notice:  Trying to get property of non-object in /var/www/mysite/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 53
PHP message: PHP Notice:  Undefined index: mediumSize in /var/www/mysite/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 54
PHP message: PHP Notice:  Trying to get property of non-object in /var/www/mysite/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 54
PHP message: PHP Notice:  Undefined index: mediumSize in /var/www/mysite/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 53
PHP message: PHP Notice:  Trying to get property of non-object in /var/www/mysite/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 53
PHP message: PHP Notice:  Undefined index: mediumSize in /var/www/mysite/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 54
PHP message: PHP Notice:  Trying to get property of non-object in /var/www/mysite/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 54

Can any body help me to fix this other than just turning off PHP notices

 

I've had a look in "/tools/smarty/sysplugins/smarty_internal_templatebase.php" on lines 157 & 53 and can't really see what could be causing it.

 

Edited by jellyMan (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...