Question

Error message is in system.log file. Looked at lines 187 and 197 of app/code/core/Mage/Core/Model/Email/Template/Filter.php and can't figure out what could be wrong?

Error as displayed in system.log:

2015-12-29T17:11:22+00:00 ERR (3): Notice: Undefined variable: block in /home/public_html/SITE/app/code/core/Mage/Core/Model/Email/Template/Filter.php on line 187

2015-12-29T17:11:22+00:00 ERR (3): Notice: Undefined variable: block in /home/public_html/SITE/app/code/core/Mage/Core/Model/Email/Template/Filter.php on line 197

Filter.php file content at line 187 and 197:
Filter.php

Était-ce utile?

La solution

One option probably is to init the block variable with "false" on line 167enter image description here

Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top