When Activating Safety Net on a site with WooCommerce installed and activated, there is a fatal error when activating the safety net plugin.
Uncaught Error: Call to undefined function SafetyNet\ScrubOptions\wc_get_webhooks() in wp-content/plugins/safety-net/includes/scrub-options.php:79
Steps to reproduce:
New WP install with 2024 theme
Install and activate WooCommerce
Install and activate Safety Net.
I am also seeing an error in the terminal after I do wp safety-net scrub-options in the terminal with WooCommerce installed but deactivated.
Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.
PHP Fatal error: Uncaught Error: Call to undefined function SafetyNet\DeactivatePlugins\scrub_options() in wp-content/plugins/safety-net/includes/classes/cli/class-safetynet-cli.php:35
When Activating Safety Net on a site with WooCommerce installed and activated, there is a fatal error when activating the safety net plugin.
Uncaught Error: Call to undefined function SafetyNet\ScrubOptions\wc_get_webhooks() in wp-content/plugins/safety-net/includes/scrub-options.php:79
Steps to reproduce:
I am also seeing an error in the terminal after I do
wp safety-net scrub-options
in the terminal with WooCommerce installed but deactivated.Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.
PHP Fatal error: Uncaught Error: Call to undefined function SafetyNet\DeactivatePlugins\scrub_options() in wp-content/plugins/safety-net/includes/classes/cli/class-safetynet-cli.php:35
WordPress 6.5.2 WooCommerce 8.7.0 Safety Net 1.4.16 Twenty Twenty-Four 1.1 php 8.1.23