-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatibility with Magento 2.3.3 #91
Comments
Any updates on this? |
hi, I tried the patch (EmailMessageInterface backward compatibility issue patch for Magento 2.3.3 on https://magento.com/tech-resources/download#download2333) but the error was still the same. The way I solved the problem for me was to exchange the complete content of the TransportBuilder class to the version I found there: https://magento.stackexchange.com/questions/292760/unable-to-add-attachment-in-email-after-upgrade-to-magento-2-3-3-version |
Thx, @nobodyMO, you just saved my day. |
@nobodyMO Thank you so much. I was trying from 6 hours, Implemented all ways to attach image with custom email but failed. Your comment saved me. Magento keep changing files. Anyway, Thanks a lot. |
I've got the same problem with Magento 2.3.5-p2. @eadesignro do you plan to fix this soon? |
@nobodyMO It shows up in the admin panel after all the Magento reload commands but doing anything gives this error:
That is about https://php.watch/versions/8.2/dynamic-properties-deprecated. Any plans on making your fork PHP 8.2 compatible? |
Hi SaturnusDJ, If I understand the message correctly, all attributes of classes must be declared explicitly in PHP8.2. This can be fixed relatively easily. Simply insert the following lines between lines 13 and 14:
However, it is possible that this is not the only missing declaration and that attributes must also be declared in other php files. |
@nobodyMO Thanks!! Fixed two of those errors with that. Afterwards there are new issues with Zend and module-email. For stability reasons and that certain functionality shown in the video is still not appearing, I will look at paid extensions now. |
This class has been refactored.
https://github.com/magento/magento2/blob/2.3-develop/lib/internal/Magento/Framework/Mail/Template/TransportBuilder.php
The text was updated successfully, but these errors were encountered: