webshopapps / module-matrixrate

WebShopApps MatrixRates for Magento2
Open Software License 3.0
120 stars 64 forks source link

PHP8.1 incompatibility (Magento 2.4.4) #112

Closed chris-pook closed 2 years ago

chris-pook commented 2 years ago

On checkout I see the following error with Magento 2.4.4 running on PHP8.1

Deprecated Functionality: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/magento.loc/vendor/webshopapps/module-matrixrate/src/Model/ResourceModel/Carrier/Matrixrate.php on line 207

chris-pook commented 2 years ago

I've added a PR with a temporary solution: https://github.com/webshopapps/module-matrixrate/pull/113

HRR1337 commented 2 years ago

If someone of webshopapps could merge this, would be perfect!

wsajosh commented 2 years ago

Thanks everyone for your contributions. This has been addressed in the latest version of the module. Please update.