Impossible to process constructor argument Parameter #0
maxq opened this issue · 5 comments
Composer - updated TaxJar
Run upgrade
Error produced
Impossible to process constructor argument Parameter #0 [ Magento\Framework\HTTP\LaminasClientFactory $clientFactory ] of Taxjar\SalesTax\Model\Client class
Magento 2.4.5 Community Edition
PHP 8.1
I too experienced this same error last night. I tried installing via composer and directly through the GitHub zip file. I'm assuming that a Laminas package was removed at some point which is probably causing this. I'm just not sure what the effect would be if I were to try to put it back in.
Magento ver. 2.4.5-p1 Community Edition
PHP 7.4
Why is there no support for this extension I 've had nothing but problems from it from day one.
Later versions of Magento do not use Laminas so no idea why TaxJar requires it.
Any fix on this would be much appreciated as our client would like to use this extension and currently cant b/c of this
Actually, Laminas is replacement for Zend ... Zend was removed in 2.4.6
Now, Laminas is in every 2.4 version it seems just that in 2.4.5 and 2.4.6 there is a wrapper class LaminasClient in Magento Framework HTTP folder
This is the file that it complains about ...
https://github.com/magento/magento2/blob/2.4-develop/lib/internal/Magento/Framework/HTTP/LaminasClient.php
which goes to /vendor/magento/framework/HTTP folder
I copied that file from 2.4.6 into 2.4.4 and it compiled just fine
I decided rather than doing that I just installed earlier 2.1.0 version of plugin which is same thing but with Zend and not Laminas as I dont really want to mess with Magento core files lol