-
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
[Compatibility issue with Magento 2.4.4. which is fixed in Avataxclie… #45
base: master
Are you sure you want to change the base?
Conversation
@virtual97 can you please review and merge as its effecting all the merchants who will go through with the latest version of Magento (2.4.4) |
It appears that as of 2.2.10-alpha1, they've updated the version of avalara/avataxclient to "^21.6.0" which in turns is support Guzzle 6 & 7. |
@sims-smith-corona cool. any plan on when it would be available as a stable release? |
Unfortunately I have no idea. There remain additional compatibility issues with Magento 2.4.4 such as the method signature issue discussed at #44 as well as some issues with avalara/avataxclient affecting compatibility with PHP 8.1 (instances where optional function parameters precede required ones which was deprecated in PHP 8.0 and results in blocking errors when trying to run Magento CLI commands.) |
Team, Has there been any indication as to an ETA for the next release of the underlying avataxclient module? Best, |
I am also needing to install Avalara with Magento 2.4.4. I'm getting this issue but I assume it's probably related Impossible to process constructor argument Parameter #0 [ Zend\Serializer\Adapter\PhpSerialize $phpSerialize ] of ClassyLlama\AvaTax\Framework\Interaction\Rest\Address\Cacheable class |
@onebrady having similar issue what was your fix ? |
@onebrady I have the same issues in other class
I see the use of Zend\Serializer\Adapter\PhpSerialize in 3 Classes in the extension. this need to be changed because Zend was deprecated against Laminas Alternative Solution Command: |
"avalara/avatax-magento": "^2.2", |
It seems the root avalara/avatax-magento require fixed and older version of avalara/avataxclient (20.12.1 ) https://github.com/avadev/Avalara-AvaTax-for-Magento2/blob/master/composer.json#L9 which does not seems to be compatible with guzzlehttp/guzzle version 7.x.x as it only require version 6 of that package, but i can see this has been fixed in the latest version of avalara/avataxclient (22.3.0) https://github.com/avadev/AvaTax-REST-V2-PHP-SDK/blob/master/composer.json#L40 but unfortunately we can't install that module as the avalara/avatax-magento only require the version to be fixed at 20.12.1. Please see below screenshot.
Solution:
the quick solution is to remove the fix version dependency we have in avalara/avatax-magento for avalara/avataxclient so that it should automatically pull the latest version of it. or we can just change the dependency to be compatible with latest version so that we can install this module with the latest Magento version (2.4.4)