PHP Fatal error
-
Great plugin which does a lot for performance; however, I am encountering an issue. I fully appreciate at least 4 plugins get a mention here as I am not fully clear on where the issue lies. Apologies if it is not yours and for the long and garbled explanation.
On the home page of my staging site, I have (for testing) got every plugin enabled in Freesoul. When I search using the Relevanssi plugin or with it deactivated and using the native WP search (e.g. “cheese”), I get message at top of the page:
WooCommerce plugin must be active for Address Validation & Google Address Auto Complete Plugin for WooCommerce(Basic) to work.
Debug.log gives the below:
[13-May-2026 11:11:48 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_checkout() in /home/sites/9b/e/e41a592f33/staging_html/wp-content/plugins/free-shipping-notification-woocommerce/public/class-cart-checkout-progress.php:254
Stack trace:
#0 /home/sites/......./staging_html/wp-includes/class-wp-hook.php(341): pisol_fsnw_cart_checkout_progress_bar->paymentScript('')
#1 /home/sites/......./staging_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
#2 /home/sites/......./staging_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#3 /home/sites/......./staging_html/wp-includes/script-loader.php(2311): do_action('wp_enqueue_scri...')
#4 /home/sites/......./staging_html/wp-includes/class-wp-hook.php(341): wp_enqueue_scripts('')
#5 /home/sites/......./staging_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
#6 /home/sites/......./staging_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#7 /home/sites/......./staging_html/wp-includes/general-template.php(3197): do_action('wp_head')
#8 /home/sites/......./staging_html/wp-includes/template-canvas.php(17): wp_head()
#9 /home/sites/......./staging_html/wp-includes/template-loader.php(132): include('/home/sites/9b/...')
#10 /home/sites/......./staging_html/wp-blog-header.php(19): require_once('/home/sites/9b/...')
#11 /home/sites/......./staging_html/index.php(17): require('/home/sites/9b/...')
#12 {main}
thrown in /home/sites/......./staging_html/wp-content/plugins/free-shipping-notification-woocommerce/public/class-cart-checkout-progress.php on line 254The PHP error is suggesting that the free-shipping-notification-woocommerce plugin is looking for WooCommerce – but it is deactivated with your plugin.
If I deactivate the free-shipping-notification-woocommerce plugin I don’t get a PHP error but still get the WooCommerce plugin must be active for Address Validation & Google Address Auto Complete Plugin for WooCommerce(Basic) to work message. If I re-activate it and deactivate your plugin, all is well.
Any ideas please?
James
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.