4

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

3

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

  • Thanks for your reply. Why is this error getting generated? Is this a common issue? I added $block = false; to Filter.php. No errors yet. What does $block = false;` do? – user2774042 Jan 7 '16 at 18:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.