firegento / firegento-magesetup2

MageSetup for Magento2
GNU General Public License v3.0
120 stars 72 forks source link

Error filtering template: Deprecated Functionality: trim(): Passing null to parameter #1 ($string) of type string is deprecated in ... email_footer.phtml #217

Closed NevenNV closed 1 year ago

NevenNV commented 1 year ago

General

Issue description

After inserting "{{block class="FireGento\MageSetup\Block\Imprint\Content" template="FireGento_MageSetup::imprint/email_footer.phtml"}}" and evaluating an email template, the following message is displayed.

Error filtering template: Deprecated Functionality: trim(): Passing null to parameter #1 ($string) of type string is deprecated in ... **email_footer.phtml**

Also, if you create a new file "email_footer_example.phtml", and copy the code of each file (from the imprint folder), into the newly created file and execute it using:

„{{block class="FireGento\MageSetup\Block\Imprint\Content" template="FireGento_MageSetup::imprint/email_footer_example.phtml"}}“ --> all information will be evaluated.

Can you help me with the error? This bug seems to be already mentioned and fixed in version 1.1.2.