Skip to content
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

Magento 2.1.8 Fatal error: Uncaught TypeError: Argument 3 passed TaxjarCommonTaxCollector::afterMapItem() #174

Closed
4 tasks
magemanish opened this issue Feb 18, 2021 · 1 comment

Comments

@magemanish
Copy link

magemanish commented Feb 18, 2021

Hi

Description

Magento 2.1.8 found issue when add to cart.

Fatal error: Uncaught TypeError: Argument 3 passed

Expected Result

Fatal error: Uncaught TypeError: Argument 3 passed to
Taxjar\SalesTax\Plugin\Tax\Model\Sales\Total\Quote\TaxjarCommonTaxCollector::afterMapItem() must be an instance of Magento\Tax\Api\Data\QuoteDetailsItemInterfaceFactory, none given, called in /home/thestampsoflife/public_html/sandbox/vendor/magento/framework/Interception/Interceptor.php on line 152 and defined in /home/thestampsoflife/public_html/sandbox/vendor/taxjar/module-taxjar/Plugin/Tax/Model/Sales/Total/Quote/TaxjarCommonTaxCollector.php:41
Stack trace:
#0 /home/thestampsoflife/public_html/sandbox/vendor/magento/framework/Interception/Interceptor.php(152): Taxjar\SalesTax\Plugin\Tax\Model\Sales\Total\Quote\TaxjarCommonTaxCollector->afterMapItem(Object(Magento\Tax\Model\Sales\Total\Quote\Subtotal\Interceptor), Object(Magento\Tax\Model\Sales\Quote\ItemDetails))
#1 /home/thestampsoflife/public_html/sandbox/var/generation/Magento/Tax/Model/Sales/Total/Quote/Subtotal/Interceptor.php(26): Magento\Tax\Model\Sales\Total\Quote\Subtotal\Interceptor->___callPlugins('mapIte in /home/thestampsoflife/public_html/sandbox/vendor/taxjar/module-taxjar/Plugin/Tax/Model/Sales/Total/Quote/TaxjarCommonTaxCollector.php on line 41

Steps to Reproduce

  1. Add to cart show error.

Versions

  • Magento 2.1.8
  • Magento Open Source (CE)
  • PHP 7.0.33
  • TaxJar Version: 1.6.0

issue

@magemanish magemanish changed the title Magento 2.8 Fatal error: Uncaught TypeError: Argument 3 passed TaxjarCommonTaxCollector::afterMapItem() Magento 2.1.8 Fatal error: Uncaught TypeError: Argument 3 passed TaxjarCommonTaxCollector::afterMapItem() Feb 18, 2021
@sethobey
Copy link
Contributor

Hello @magemanish,

I am closing this issue since it has been inactive for 9 months and I am unable to confirm or reproduce the bug that you describe. Please feel free to reopen this issue if you are able to provide more detail so that we may replicate the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants