WPIntell

Source evidence

Fatal Error on version 4.2.2

TaxJar – Sales Tax Automation for WooCommerce · support · 2024-08-06T20:14:00+00:00

complaintsentiment
highseverity
1.0relevance
8replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 34 rows with source links

14.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
contemplate unresolved
After upgrading to TaxJar version 4.2.2 we started getting fatal errors in our post editor for various custom post types which prevented ACF fields from showing in the post editor as well as other conflicts with other plugins. Rolling back to version 4.2.1 fixed it. Below is from our error log. // Error Log Current plugin: TaxJar – Sales Tax Automation for WooCommerce (version 4.2.2) PHP version 8.0.30 Error Details ============= An error of type E_ERROR was caused in line 45 of the file /home/website/public_html/wp-content/plugins/taxjar-simplified-taxes-for-woocommerce/includes/admin/class-order-meta-box.php. Error message: Uncaught TypeError: TaxJar\Order_Meta_Box::get_order_tax_calculation_metadata(): Argument #1 ($order) must be of type WC_Order, bool given, called in /home/website/public_html/wp-content/plugins/taxjar-simplified-taxes-for-woocommerce/includes/admin/class-order-meta-box.php on line 32 and defined in /home/website/public_html/wp-content/plugins/taxjar-simplified-taxes-for-woocommerce/includes/admin/class-order-meta-box.php:45 Stack trace: #0 /home/website/public_html/wp-content/plugins/taxjar-simplified-taxes-for-woocommerce/includes/admin/class-order-meta-box.php(32): TaxJar\Order_Meta_Box::get_order_tax_calculation_metadata(false) #1 /home/website/public_html/wp-admin/includes/template.php(1456): TaxJar\Order_Meta_Box::output(Object(WP_Post), Array) #2 /home/website/public_html/wp-admin/includes/post.php(2385): do_meta_boxes(Object(WP_Screen), ‘normal’, Object(WP_Post)) #3 /home/website/public_html/wp-admin/edit-form-blocks.php(319): the_block_editor_meta_boxes() #4 /home/website/public_html/wp-admin/post-new.php(72): require(‘/home/website…’) #5 {main} thrown Same here, on a few sites in my portfolio. It’s been causing lots of admin area problems. I reported it yesterday and haven’t heard anything back yet. I’ll sit in on this ticket too. Hey guys – we have a very similar issue. We installed/activated Taxjar and only after enabling the configuration settings (check boxes) to actually turn on the tax calculations on the front end did things start to break. Now, while things on the front end seem to be working correctly, as in the tax is displaying and calculating correctly at checkout, it’s simply the admin that we’re getting the ‘fatal error’ that is breaking other features and plugins. Here’s the error: Fatal error : Uncaught Error: TaxJar\Order_Meta_Box::get_order_tax_calculation_metadata(): Argument #1 ($order) must be of type WC_Order, bool given, called in /home/name/www/site-name.bak/wp-content/plugins/taxjar-simplified-taxes-for-woocommerce/includes/admin/class-order-meta-box.php on line 32 in /home/name/www/site-name.bak/wp-content/plugins/taxjar-simplified-taxes-for-woocommerce/includes/admin/class-order-meta-box.php on line 45 Call stack: TaxJar\Order_Meta_Box::get_order_tax_calculation_metadata() wp-content/plugins/taxjar-simplified-taxes-for-woocommerce/includes/admin/class-order-meta-box.php:32 TaxJar\Order_Meta_Box::output() wp-admin/includes/template.php:1456 do_meta_boxes() wp-admin/edit-form-advanced.php:723 require() wp-admin/post.php:206 Has there been any updates or resolutions for you all? Does anyone have a technical contact at Taxjar? I can’t seem to reach anyone. This reply was modified 1 year, 9 months ago by seedcity . I also reported this to WooCommerce.com to try to get some eyes on it. FYI you can downgrade it via WP-CLI with this command wp plugin update taxjar-simplified-taxes-for-woocommerce --version=4.2.1 and this has patched the affected stores in my portfolio just fine. In order for it to stop bugging you about the 4.2.2 update; edit the file taxjar-woocommerce.php and set the Version: line near the top from 4.2.1 to 4.2.3-beta then the real v4.2.3 (or later) will download over it when ready. Update. Reverting back to 4.2.1 did solve our problem. Version 4.2.3 just dropped and it indicate some fixes in the change-log. I’ll test it out. @seanconklin did Version 4.2.3 fix this issue? Wow, crazy that upon logging in it made me checkbox that I have no WPE affiliation, taking things too far for a community site I would say. Anyhow, yes, we no longer face this problem. Awesome thanks for responding so quickly @seanconklin !! YES this WPE drama needs to stop and we get back to being a collaborative community. 🙂

Comments

8 shown
Sean Conklin 2024-08-07T01:40:00+00:00

Same here, on a few sites in my portfolio. It’s been causing lots of admin area problems. I reported it yesterday and haven’t heard anything back yet. I’ll sit in on this ticket too.

seedcity 2024-08-07T19:01:00+00:00

Hey guys – we have a very similar issue. We installed/activated Taxjar and only after enabling the configuration settings (check boxes) to actually turn on the tax calculations on the front end did things start to break. Now, while things on the front end seem to be working correctly, as in the tax is displaying and calculating correctly at checkout, it’s simply the admin that we’re getting the ‘fatal error’ that is breaking other features and plugins. Here’s the error: Fatal error : Uncaught Error: TaxJar\Order_Meta_Box::get_order_tax_calculation_metadata(): Argument #1 ($order) must be of type WC_Order, bool given, called in /home/name/www/site-name.bak/wp-content/plugins/taxjar-simplified-taxes-for-woocommerce/includes/admin/class-order-meta-box.php on line 32 in /home/name/www/site-name.bak/wp-content/plugins/taxjar-simplified-taxes-for-woocommerce/includes/admin/class-order-meta-box.php on line 45 Call stack: TaxJar\Order_Meta_Box::get_order_tax_calculation_metadata() wp-content/plugins/taxjar-simplified-taxes-for-woocommerce/includes/admin/class-order-meta-box.php:32 TaxJar\Order_Meta_Box::output() wp-admin/includes/template.php:1456 do_meta_boxes() wp-admin/edit-form-advanced.php:723 require() wp-admin/post.php:206 Has there been any updates or resolutions for you all? Does anyone have a technical contact at Taxjar? I can’t seem to reach anyone. This reply was modified 1 year, 9 months ago by seedcity .

Sean Conklin 2024-08-08T00:07:00+00:00

I also reported this to WooCommerce.com to try to get some eyes on it. FYI you can downgrade it via WP-CLI with this command wp plugin update taxjar-simplified-taxes-for-woocommerce --version=4.2.1 and this has patched the affected stores in my portfolio just fine. In order for it to stop bugging you about the 4.2.2 update; edit the file taxjar-woocommerce.php and set the Version: line near the top from 4.2.1 to 4.2.3-beta then the real v4.2.3 (or later) will download over it when ready.

seedcity 2024-08-08T21:03:00+00:00

Update. Reverting back to 4.2.1 did solve our problem.

Sean Conklin 2024-08-19T23:03:00+00:00

Version 4.2.3 just dropped and it indicate some fixes in the change-log. I’ll test it out.

contemplate 2024-10-19T15:21:00+00:00

@seanconklin did Version 4.2.3 fix this issue?

Sean Conklin 2024-10-19T15:51:00+00:00

Wow, crazy that upon logging in it made me checkbox that I have no WPE affiliation, taking things too far for a community site I would say. Anyhow, yes, we no longer face this problem.

contemplate 2024-10-19T16:02:00+00:00

Awesome thanks for responding so quickly @seanconklin !! YES this WPE drama needs to stop and we get back to being a collaborative community. 🙂