WPIntell

Source evidence

Fatal Error upon deactivating WooCommerce

WC Order Test · support · 2025-04-25T18:40:00+00:00

complaintsentiment
highseverity
0.97relevance
0replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

6 / 25 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

19 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Ben Sibley unresolved
Hi there, I have a test site setup where I deactivated WooCommerce and it triggered this error from your plugin: PHP Fatal error: Uncaught Error: Class ‘WC_Payment_Gateway’ not found in /home/gz4bbuo/public_html/wp-content/plugins/woo-order-test/admin/functions.php:23 Stack trace: 0 /home/gz4bbuo/public_html/wp-includes/class-wp-hook.php(324): wpfi_init_woo_order_test_gateway_class(”) 1 /home/gz4bbuo/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 2 /home/gz4bbuo/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 3 /home/gz4bbuo/public_html/wp-settings.php(578): do_action(‘plugins_loaded’) 4 /home/gz4bbuo/public_html/wp-config.php(108): require_once(‘/home/gz4bbuo/p…’) 5 /home/gz4bbuo/public_html/wp-load.php(50): require_once(‘/home/gz4bbuo/p…’) 6 /home/gz4bbuo/public_html/wp-admin/admin.php(35): require_once(‘/home/gz4bbuo/p…’) 7 /home/gz4bbuo/public_html/wp-admin/plugins.php(10): require_once(‘/home/gz4bbuo/p…’) 8 {main} thrown in /home/gz4bbuo/public_html/wp-content/plugins/woo-order-test/admin/functions.php on line 23 It would be best to check for the existence of WC_Payment_Gateway and bail if it’s not available.

Comments

0 shown

No comments were stored for this source.