v9.1.0 wrongly checking a class name that doesn’t exist
-
This morning, our site suffered a fatal white-screen error, which was focused on the Advanced Product Fields for WooCommerce Extended plugin by Studio Wombat. After reaching out to their support, they believe that your plugin is wrongly checking a class name that doesn’t exist, which is triggering the error in their plugin and causing the fatal site error.
Here’s the debug message:
2026-07-11T05:16:32+00:00 Critical Uncaught Error: Failed opening required ‘/home/buffalomusicclub/public_html/wp-content/plugins/advanced-product-fields-for-woocommerce-extended/class-.php’ (include_path=’.:/opt/cpanel/ea-php83/root/usr/share/pear’) in /home/buffalomusicclub/public_html/wp-content/plugins/advanced-product-fields-for-woocommerce-extended/advanced-product-fields-for-woocommerce-extended.php:41
With additional context:
{ “error”: { “type”: 1, “file”: “/home/buffalomusicclub/public_html/wp-content/plugins/advanced-product-fields-for-woocommerce-extended/advanced-product-fields-for-woocommerce-extended.php”, “line”: 41 }, “remote-logging”: true, “backtrace”: [ “”, “#0 [internal function]: SW_WAPF_PRO_auto_loader(‘SW_WAPF_PRO’)”, “#1 /home/buffalomusicclub/public_html/wp-content/plugins/woo-paypal-gateway/ppcp/includes/compatibility/class-wpg-wapf-compat.php(34): class_exists(‘SW_WAPF_PRO’)”, “#2 /home/buffalomusicclub/public_html/wp-content/plugins/woo-paypal-gateway/ppcp/includes/compatibility/class-wpg-wapf-compat.php(25): WPG_WAPF_Compat->is_active()”, “#3 /home/buffalomusicclub/public_html/wp-content/plugins/woo-paypal-gateway/ppcp/includes/class-ppcp-paypal-checkout-for-woocommerce.php(89): WPG_WAPF_Compat->init()”, “#4 /home/buffalomusicclub/public_html/wp-content/plugins/woo-paypal-gateway/ppcp/includes/class-ppcp-paypal-checkout-for-woocommerce.php(32): PPCP_Paypal_Checkout_For_Woocommerce->define_public_hooks()”, “#5 /home/buffalomusicclub/public_html/wp-content/plugins/woo-paypal-gateway/woo-paypal-gateway.php(118): PPCP_Paypal_Checkout_For_Woocommerce->__construct()”, “#6 /home/buffalomusicclub/public_html/wp-content/plugins/woo-paypal-gateway/woo-paypal-gateway.php(103): run_ppcp_paypal_checkout_for_woocommerce()”, “#7 /home/buffalomusicclub/public_html/wp-includes/class-wp-hook.php(341): init_wpg_woo_paypal_gateway_class(”)”, “#8 /home/buffalomusicclub/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)”, “#9 /home/buffalomusicclub/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)”, “#10 /home/buffalomusicclub/public_html/wp-settings.php(622): do_action(‘plugins_loaded’)”, “#11 /home/buffalomusicclub/public_html/wp-config.php(200): require_once(‘/home/buffalomu…’)”, “#12 /home/buffalomusicclub/public_html/wp-load.php(50): require_once(‘/home/buffalomu…’)”, “#13 /home/buffalomusicclub/public_html/wp-blog-header.php(13): require_once(‘/home/buffalomu…’)”, “#14 /home/buffalomusicclub/public_html/index.php(17): require(‘/home/buffalomu…’)”, “#15 {main}”, “thrown” ] }
This error seems to be related to another topic on your support forum: https://wordpress.org/support/topic/plugin-could-not-be-activated-because-it-triggered-a-fatal-error-770/
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.