Description
Preconditions (*)
- Magento 1.9.4.5
- OpenMage 19.4.23
- PHP 8.1
Steps to reproduce (*)
- Take any Magento 1.9 install and upgrade to OpenMage, then enable PHP 8.1, this might also work on default OpenMage, I am not sure
- Now try to place an order, click admin forgot pass or anything else, so you get email from TEMPLATES
Expected result (*)
- It should display emails correctly
Sample "Test" email displays this content with PHP 7.4:
Name:
Email:
Telephone:Comment: This is a test template email - your email settings are correct!
Actual result (*)
Sample "Test" email displays this content with PHP 8.1:
=0A=0AName: =0AEmail: =0ATelephone: =0A=0AComment: This is a test template email - your email settings are correct!
Tested also with https://github.com/icecubenz-open-mage/Icecube_CustomEmailServer just to be safe, same issue, but the issue disappears if I downgrade to PHP 7.4, then email templates work properly. And it's for all emails, forgot admin pass, etc. Already tried reloading all email templates, same issue.
PHP ini settings / modules are identical.