-
Notifications
You must be signed in to change notification settings - Fork 30
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 with PHP 8.2 #366
Comments
Can we have any update on this? We have updated the PHP version to 8.2 and now we getting the same issue including other one like:
Thank you, |
I am also getting this deprecation notice on magento 2.4.6-p1 with taxjar/module 2.2.0 with php 8.1-fpm. It is being displayed to customers which is causing an issue for our client. They are reporting an increase in customer service calls because customers are unsure if their orders are being processed. Is there anyone working on this? |
I have the same issue. |
These can be fixed very easily, although it's odd nobody at TaxJar made these fixes for such a long time. In file: ./vendor/taxjar/module-taxjar/Model/Transaction/Order.php In file: ./vendor/taxjar/module-taxjar/Model/Transaction/Refund.php In file: ./vendor/taxjar/module-taxjar/Model/Import/Rate.php |
Thank you, also i would recommend that you instead add protected $apiKey; to /vendor/taxjar/module-taxjar/Model/Transaction.php because bother order and refund inherit that class so you only need to add it in one place. |
It it highly frowned upon to modify the core files directly, there are many good reasons for this. You should implement these changes in a(some) composer patch(es) to be applied at deployment. See example here: #370 (comment) |
Description
When creating a credit memo the following error is thrown:
Creation of dynamic property Taxjar\SalesTax\Model\Transaction\Order::$apiKey is deprecated.
Steps to Reproduce
Versions
TaxJar module 2.1.0
Magento 2.4.6
PHP 8.2
The text was updated successfully, but these errors were encountered: