taxjar / taxjar-magento2-extension

Magento 2 Sales Tax Extension by TaxJar
http://www.taxjar.com/guides/integrations/magento2/
Open Software License 3.0
22 stars 30 forks source link

PHP 8.1 compatibility #319

Closed webcreative24 closed 2 years ago

webcreative24 commented 2 years ago

Prerequisites

Description

Please Fix the compatibility bug with PHP 8.1

Steps to Reproduce

  1. Crate new order from Admin
  2. Press Submit button

Expected Result

Order created

Actual Result

Error appear: Deprecated Functionality: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /vendor/taxjar/module-taxjar/Observer/SaveOrderMetadata.php on line 78

Versions

sethobey commented 2 years ago

Hi @webcreative24, thanks for reporting! I was able to verify the bug and plan to get the fix out as soon as possible.

sethobey commented 2 years ago

@webcreative24 This issue should now be resolved by upgrading to v1.9.6. Thank you again for reporting!