Title: Fatal Error type E-ERROR
Last modified: June 27, 2024

---

# Fatal Error type E-ERROR

 *  Resolved [dozza](https://wordpress.org/support/users/dozza/)
 * (@dozza)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/fatal-error-type-e-error/)
 * Had this yesterday and thought i should flag it up. Not sure what the client 
   was doing, but WooCommerce had diassapered although I can revert to a backup.
   Wondering what to do once I’ve reverted to previous site version to ensure it
   doesn’t happen again, apart from keeping Woo and your plug auto-updated (which
   they already were)?
 * Relevant part of php_errorlog is [here](https://drive.google.com/file/d/1mQhHtbAiFjZYG5L0akHYISr9NeQzZ_Vk/view?usp=sharing).
   
   Is it related to WooCommerce.9.0.2 release on 24/06/2024?
 * When seeking help with this issue, you may be asked for some of the following
   information:
   WordPress version 6.5.5Active theme: Divi Child (version 1.0.0)Current
   plugin: Mailchimp for WooCommerce (version 4.1)PHP version 7.4.33
 * Error Details
   =============An error of type E_ERROR was caused in line 430 of
   the file /home/customer/www/[stmildredschurch.org.uk/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/class-mailchimp-woocommerce-service.php](http://stmildredschurch.org.uk/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/class-mailchimp-woocommerce-service.php).
   Error message: Uncaught Error: Call to undefined function wc_get_product() in/
   home/customer/www/[stmildredschurch.org.uk/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/class-mailchimp-woocommerce-service.php:430](http://stmildredschurch.org.uk/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/class-mailchimp-woocommerce-service.php:430)
   Stack trace:#0 /home/customer/www/[stmildredschurch.org.uk/public_html/wp-includes/class-wp-hook.php](http://stmildredschurch.org.uk/public_html/wp-includes/class-wp-hook.php)(
   324): MailChimp_Service->handleProductMetaUpdated(Array, 751, ‘_thumbnail_id’,”)#
   1 /home/customer/www/[stmildredschurch.org.uk/public_html/wp-includes/class-wp-hook.php](http://stmildredschurch.org.uk/public_html/wp-includes/class-wp-hook.php)(
   348): WP_Hook->apply_filters(NULL, Array)#2 /home/customer/www/[stmildredschurch.org.uk/public_html/wp-includes/plugin.php](http://stmildredschurch.org.uk/public_html/wp-includes/plugin.php)(
   517): WP_Hook->do_action(Array)#3 /home/customer/www/[stmildredschurch.org.uk/public_html/wp-includes/meta.php](http://stmildredschurch.org.uk/public_html/wp-includes/meta.php)(
   528): do_action(‘deleted_post_me…’, Array, 751, ‘_thumbnail_id’, ”)#4 /home/customer/
   www/[stmildredschurch.org.uk/public_html/wp-includes/post.php](http://stmildredschurch.org.uk/public_html/wp-includes/post.php)(
   2574): delete_metadata(‘post’, 751, ‘_thumbnail_id’, ”)#5 /home/customer/www/
   [stmildredschurch.org.uk/public_html/wp-includes/post.php](http://stmildredschurch.org.uk/public_html/wp-includes/post.php)(
   7754): delete_po

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [khungate](https://wordpress.org/support/users/khungate/)
 * (@khungate)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/fatal-error-type-e-error/#post-17866537)
 * Hi [@dozza](https://wordpress.org/support/users/dozza/), thank you for your patience
   and providing the error log. That’s a strange one…based on the error message `
   Call to undefined function wc_get_product()`, it usually means that the WooCommerce
   plugin may not be installed or activated on your website. This specific function
   is a core part of WooCommerce, and if it is missing, it usually indicates that
   WooCommerce is either not present or not active.
 * To resolve this issue, please check the following:
    1. Ensure that WooCommerce is installed on your website. You can do this by navigating
       to the Plugins section of your WordPress dashboard and looking for WooCommerce
       in the list of installed plugins.
    2. Make sure that WooCommerce is activated. If you find WooCommerce in the list
       but it is not active, click the Activate button.
 * If WooCommerce is definitely installed and active, and you’re still encountering
   this error, there may be another issue at play. In that case, please enable remote
   diagnostics from the Settings tab and provide your store URL.
 *  Thread Starter [dozza](https://wordpress.org/support/users/dozza/)
 * (@dozza)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/fatal-error-type-e-error/#post-17868539)
 * [@khungate](https://wordpress.org/support/users/khungate/)
 * I can confirm that WooCommerce had become uninstalled. We had assumed it was 
   caused by the error with your plugin. But it looks like maybe it was the other
   way around.
 * We have no idea why WooCommerce became unavailable. The plug folder was still
   on the server, but not displayed in available plugins.
 * We had to revert the site to a backup and all is ticking along OK now.
 *  Thread Starter [dozza](https://wordpress.org/support/users/dozza/)
 * (@dozza)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/fatal-error-type-e-error/#post-17894089)
 * Hi.
 * The same issue just happened again at 9:15pm tonight in UK. The client told me
   she saw a Fatal Error alert in back end. I’ve had the ‘Site expereincing Technical
   issue’ email as follows (previously it was with Mailchimp for WooCommerce (version
   4.1)):
   ——————When seeking help with this issue, you may be asked for some of 
   the following information:WordPress version 6.5.5Active theme: Divi Child (version
   1.0.0)Current plugin: Mailchimp for WooCommerce (version 4.2)PHP version 7.4.33
 * Error Details
   =============An error of type E_ERROR was caused in line 437 of
   the file /home/customer/www/[stmildredschurch.org.uk/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/class-mailchimp-woocommerce-service.php](http://stmildredschurch.org.uk/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/class-mailchimp-woocommerce-service.php).
   Error message: Uncaught Error: Call to a member function get_status() on bool
   in /home/customer/www/[stmildredschurch.org.uk/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/class-mailchimp-woocommerce-service.php:437](http://stmildredschurch.org.uk/public_html/wp-content/plugins/mailchimp-for-woocommerce/includes/class-mailchimp-woocommerce-service.php:437)
   Stack trace:#0 /home/customer/www/[stmildredschurch.org.uk/public_html/wp-includes/class-wp-hook.php](http://stmildredschurch.org.uk/public_html/wp-includes/class-wp-hook.php)(
   324): MailChimp_Service->handleProductMetaUpdated(560365, 21520, ‘_thumbnail_id’,
   21522)#1 /home/customer/www/[stmildredschurch.org.uk/public_html/wp-includes/class-wp-hook.php](http://stmildredschurch.org.uk/public_html/wp-includes/class-wp-hook.php)(
   348): WP_Hook->apply_filters(NULL, Array)#2 /home/customer/www/[stmildredschurch.org.uk/public_html/wp-includes/plugin.php](http://stmildredschurch.org.uk/public_html/wp-includes/plugin.php)(
   517): WP_Hook->do_action(Array)#3 /home/customer/www/[stmildredschurch.org.uk/public_html/wp-includes/meta.php](http://stmildredschurch.org.uk/public_html/wp-includes/meta.php)(
   156): do_action(‘added_post_meta’, 560365, 21520, ‘_thumbnail_id’, 21522)#4 /
   home/customer/www/[stmildredschurch.org.uk/public_html/wp-includes/meta.php](http://stmildredschurch.org.uk/public_html/wp-includes/meta.php)(
   252): add_metadata(‘post’, 21520, ‘_thumbnail_id’, 21522)#5 /home/customer/www/
   [stmildredschurch.org.uk/public_html/wp-includes/post.php](http://stmildredschurch.org.uk/public_html/wp-includes/post.php)(
   262)————————–I’ve just checked the site and can see that WooCommerce is still
   installed and active, but that the plugin can’t be selected with checkbox or 
   deactivated on plugin screen (both are greyed out). What might this signify?
 * I note that your plugin has auto updated to v4.2.1 when I just checked.
 *  Plugin Author [ryanhungate](https://wordpress.org/support/users/ryanhungate/)
 * (@ryanhungate)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/fatal-error-type-e-error/#post-17895510)
 * [@dozza](https://wordpress.org/support/users/dozza/) thanks for all the info 
   on this – very helpful. v4.2.1 should address this problem you’re facing, so 
   if that’s still a problem please let us know. I did just briefly look at the 
   site and the plugin seems to load fine at this moment. If we can help with anything
   else just let us know!
 *  Thread Starter [dozza](https://wordpress.org/support/users/dozza/)
 * (@dozza)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/fatal-error-type-e-error/#post-17896131)
 * OK. I was worried about WooCommerc being greyed-out but now notice that ”Note:
   this plugin cannot be deactivated or deleted until the plugins that require it
   are deactivated or deleted.” – so that explains it.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Fatal Error type E-ERROR’ is closed to new replies.

 * ![](https://ps.w.org/mailchimp-for-woocommerce/assets/icon-256x256.png?rev=1509501)
 * [Mailchimp for WooCommerce](https://wordpress.org/plugins/mailchimp-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp-for-woocommerce/reviews/)

## Tags

 * [fatal](https://wordpress.org/support/topic-tag/fatal/)

 * 5 replies
 * 3 participants
 * Last reply from: [dozza](https://wordpress.org/support/users/dozza/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/fatal-error-type-e-error/#post-17896131)
 * Status: resolved