Open ganeddact opened 2 years ago
Further to this, bin/magento setup:di:compile"
produces other compatibility errors:
Fatal error: During inheritance of ArrayAccess: Uncaught Exception: Deprecated Functionality: Return type of Zip\ZipPayment\MerchantApi\Lib\Model\Authority::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /app/vendor/zip/magento2/MerchantApi/Lib/Model/Authority.php on line 210 in /app/vendor/magento/framework/App/ErrorHandler.php:61
Fatal error: During inheritance of ArrayAccess: Uncaught Exception: Deprecated Functionality: Return type of Zip\ZipPayment\MerchantApi\Lib\Model\Authority::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /app/vendor/zip/magento2/MerchantApi/Lib/Model/Authority.php on line 220 in /app/vendor/magento/framework/App/ErrorHandler.php:61
Fatal error: During inheritance of ArrayAccess: Uncaught Exception: Deprecated Functionality: Return type of Zip\ZipPayment\MerchantApi\Lib\Model\Authority::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /app/vendor/zip/magento2/MerchantApi/Lib/Model/Authority.php on line 231 in /app/vendor/magento/framework/App/ErrorHandler.php:61
Fatal error: During inheritance of ArrayAccess: Uncaught Exception: Deprecated Functionality: Return type of Zip\ZipPayment\MerchantApi\Lib\Model\Authority::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /app/vendor/zip/magento2/MerchantApi/Lib/Model/Authority.php on line 245 in /app/vendor/magento/framework/App/ErrorHandler.php:61
The above errors are not the only ones - every class implementing ArrayAccess
needs to be updated
Hey @aligent-lturner , Please let install our latest plugin which is supporting php 8.1 Thanks Mahbub
Is your latest version 1.1.2 compatible with Adobe Commerce Magento 2.4.4?
Hi, after upgrading to Magento 2.4.4 with php 8.1, and pulling the latest Zip module code from composer, I get this error
Exception #0 (Exception): Deprecated Functionality: preg_replace(): Passing null to parameter 3 ($subject) of type array|string is deprecated in /magento/vendor/zip/magento2/Model/Config.php on line 384 1 preg_replace() called at [vendor/zip/magento2/Model/Config.php:384] 2 Zip\ZipPayment\Model\Config->getValue() called at [vendor/zip/magento2/Model/Config.php:368]
Does the composer module need to be updated to be compatible with 2.4.4? If so, has the update been scheduled yet?
ps I tried also to contact from the support link on Magento marketplace but the email does not get delivered.