Site Crashes When Trying to Complete Order With Plugin Activated
-
Site:?https://threewishesapothecary.com
Here's a video of us duplicating the issue:
https://www.loom.com/share/9dabc3e2b1984c8f9a654efa10b90f97
Here's the error in the email:
Howdy!
WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, WooCommerce.
First, visit your website (https://threewishesapothecary.com/) and check for any visible issues. Next, visit the page where the error was caught (https://threewishesapothecary.com/wp-admin/admin.php?page=wc-orders&action=edit&id=3322) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.
https://threewishesapothecary.com/wp-login.php?action=enter_recovery_mode&rm_token=aNol3DmCayMO7LmfsyrXjY&rm_key=BBRsRSmr9yddvsFNVtZQkn
To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.7.2
Active theme: Beaver Builder Child Theme (version 1.0)
Current plugin: WooCommerce (version 9.6.2)
PHP version 8.2.27
Error Details
=============
An error of type E_ERROR was caused in line 168 of the file /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping.php. Error message: Uncaught Error: Call to undefined function wc_has_notice() in /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping.php:168
Stack trace:
#0 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-content/plugins/stripe-tax-for-woocommerce/Stripe/class-stripetaxpluginhelper.php(1543): WC_Shipping->load_shipping_methods()
#1 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-content/plugins/stripe-tax-for-woocommerce/Stripe/class-calculatetax.php(597): Stripe\StripeTaxForWooCommerce\Stripe\StripeTaxPluginHelper::get_cart_or_order_taxable_shipping_methods()
#2 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-content/plugins/stripe-tax-for-woocommerce/Stripe/class-calculatetax.php(671): Stripe\StripeTaxForWooCommerce\Stripe\CalculateTax::get_cart_or_order_taxable_shipping_total()
#3 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-content/plugins/stripe-tax-for-woocommerce/WordPress/class-hooks.php(566): Stripe\StripeTaxForWooCommerce\Stripe\CalculateTax::get_taxable_shipping_cost_from_cart_or_order_for_api()
#4 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-includes/class-wp-hook.php(324): Stripe\StripeTaxForWooCommerce\WordPress\Hooks::action_calculate_totals()
#5 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(1944): do_action()
#8 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-content/plugins/woocommerce/includes/admin/wc-admin-functions.php(457): WC_Abstract_Order->calculate_totals()
#9 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-items.php(53): wc_save_order_items()
#10 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-includes/class-wp-hook.php(326): WC_Meta_Box_Order_Items::save()
#11 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#12 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#13 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php(318): do_action()
#14 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php(153): Automattic\WooCommerce\Internal\Admin\Orders\Edit->handle_order_update()
#15 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(351): Automattic\WooCommerce\Internal\Admin\Orders\Edit->setup()
#16 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(367): Automattic\WooCommerce\Internal\Admin\Orders\PageController->prepare_order_edit_form()
#17 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(166): Automattic\WooCommerce\Internal\Admin\Orders\PageController->setup_action_edit_order()
#18 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\Admin\Orders\PageController->handle_load_page_action()
#19 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#20 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#21 /home/percbuzz/domains/threewishesapothecary.com/public_html/wp-admin/admin.php(237): do_action()
#22 {main}
thrownAccording to my host, the issue was with the stripe-tax-for-woocommerce plugin. We disabled it, and the orders can now be completed.
Any ideas how we can get this fixed?
Thank you!
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.