veda-consulting-company / uk.co.vedaconsulting.mosaico

Other
39 stars 75 forks source link

HTML emails incorrect after PHP 8.2 update #618

Closed LuckyfishSoftware closed 1 year ago

LuckyfishSoftware commented 1 year ago

I upgraded our PHP from 7.4 to 8.2 then sent a test email. The HTML no longer displayed correctly in mail.google.com. The sender email was also not correct. image

I switched PHP back to 7.4, resent the email, and it looked correct. HTML test view of the email looked correct under both PHP versions, so perhaps this doesn't have anything to do with the extension. I did some searched on StackExchange, but didn't find a match. image

I am running Civicrm 5.66.0 with Mosaico extension 3.3.1697392242 on Wordpress version 6.3.2.

jofranz commented 1 year ago

Generally speaking CiviCRM currently does not support PHP 8.2

LuckyfishSoftware commented 1 year ago

I didn't know that. I will try PHP 8.1.

LuckyfishSoftware commented 1 year ago

I'm getting the same results under PHP 8.1.

Upperholme commented 1 year ago

Whilst CiviCRM core supports PHP8.1 that doesn't mean that the same is true for all extensions. I'm not sure about Mosaico?

LuckyfishSoftware commented 1 year ago

I just received an non-Mosaico email from CiviCRM and it has the same formatting issue. I'll close this issue since it appears to be a problem outside of this extension.