This repository was archived by the owner on Apr 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
This repository was archived by the owner on Apr 29, 2019. It is now read-only.
Update zend-mail #12
Copy link
Copy link
Closed
Labels
Milestone
Description
Important: Use libs-upgrade branch as base for this task and as target for the PR.
Issues found in zend-mail:
INTL_IDNA_VARIANT_2003is deprecated, and used as default value foridn_to_ascii()andidn_to_utf8(). See http://php.net/manual/en/migration72.deprecated.php for details.
\Zend\Mail\Header\AbstractAddressList::idnToAscii()usesidn_to_ascii()with the default value. Explicit valueINTL_IDNA_VARIANT_UTS46should be used as$variant. There is a PR to fix it - Add PHP 7.2 support zendframework/zend-mail#189- Usage of deprecated
$errcontextparameter - create PR to the zend-mail repo
A use case to test: create a customer from the store front. Currently it fails with:
Deprecated Functionality: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated in /private/var/www/htdocs/m2-php72/magento2ce/vendor/zendframework/zend-mail/src/Header/AbstractAddressList.php on line 105 {"exception":"[object] (Magento\\Framework\\Exception\\MailException(code: 0): Deprecated Functionality: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated in /private/var/www/htdocs/m2-php72/magento2ce/vendor/zendframework/zend-mail/src/Header/AbstractAddressList.php on line 105 at /private/var/www/htdocs/m2-php72/magento2ce/app/code/Magento/Email/Model/Transport.php:87, Exception(code: 0): Deprecated Functionality: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated in /private/var/www/htdocs/m2-php72/magento2ce/vendor/zendframework/zend-mail/src/Header/AbstractAddressList.php on line 105 at /private/var/www/htdocs/m2-php72/magento2ce/lib/internal/Magento/Framework/App/ErrorHandler.php:61)"} []
Solution: update to ver. 2.9.0
Reactions are currently unavailable