Thank you for an amazing analysis for solving the problem. U did all the steps for disabling the plugin. when I tried to disable the woocommerce 5 plugins I have got the message as you can see below. Now the current situation is that I cant get back to continue to disable the plugins. I do not know what I should do ?
Here is the message
Fatal error: Uncaught Error: Class ‘WC_Data’ not found in /home/customer/www/thestructuralexpert.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/Note.php:15 Stack trace: #0 /home/customer/www/thestructuralexpert.com/public_html/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-php-autoloader.php(87): require() #1 [internal function]: Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3cjetpack\PHP_Autoloader::load_class(‘Automattic\\WooC…’) #2 [internal function]: spl_autoload_call(‘Automattic\\WooC…’) #3 /home/customer/www/thestructuralexpert.com/public_html/wp-content/plugins/optinmonster/OMAPI/WooCommerce.php(542): class_exists(‘Automattic\\WooC…’) #4 /home/customer/www/thestructuralexpert.com/public_html/wp-includes/class-wp-hook.php(287): OMAPI_WooCommerce->maybe_store_note(”) #5 /home/customer/www/thestructuralexpert.com/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #6 /home/customer/www/thestructuralexpert.com/publi in /home/customer/www/thestructuralexpert.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/Note.php on line
In the meantime, I have received an email from WordPress
Since WordPress 5.2 there is 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://www.thestructuralexpert.com/) and check for any visible issues. Next, visit the page where the error was caught (https://www.thestructuralexpert.com/wp-admin/) 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 investigates further.
https://www.thestructuralexpert.com/wp-login.php?action=enter_recovery_mode&rm_token=AHldGJWwSFkb4ig8fEsgNq&rm_key=uD5sUDDrglZ7Nx1f7g932r
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 5.6.2
Current theme: Divi (version 4.7.3)
Current plugin: WooCommerce (version 5.0.0)
PHP version 7.3.27
Error Details
=============
An error of type E_ERROR was caused in line 15 of the file /home/customer/www/thestructuralexpert.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/Note.php. Error message: Uncaught Error: Class ‘WC_Data’ not found in /home/customer/www/thestructuralexpert.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/Note.php:15
Stack trace:
#0 /home/customer/www/thestructuralexpert.com/public_html/wp-content/plugins/jetpack/vendor/jetpack-autoloader/class-php-autoloader.php(87): require()
#1 [internal function]: Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3cjetpack\PHP_Autoloader::load_class(‘Automattic\\WooC…’)
#2 [internal function]: spl_autoload_call(‘Automattic\\WooC…’)
#3 /home/customer/www/thestructuralexpert.com/public_html/wp-content/plugins/optinmonster/OMAPI/WooCommerce.php(542): class_exists(‘Automattic\\WooC…’)
#4 /home/customer/www/thestructuralexpert.com/public_html/wp-includes/class-wp-hook.php(287): OMAPI_WooCommerce->maybe_store_note(”)
#5 /home/customer/www/thestructuralexpert.com/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#6 /home/customer/www/thestructuralexpert.com/publi
Please advise
Thank you