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.
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.5
Active theme: Divi Child (version 1.0.0)
Current plugin: Mailchimp for WooCommerce (version 4.1)
PHP version 7.4.33Error 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. 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
Stack trace:
#0 /home/customer/www/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(348): WP_Hook->apply_filters(NULL, Array)
#2 /home/customer/www/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(528): do_action(‘deleted_post_me…’, Array, 751, ‘_thumbnail_id’, ”)
#4 /home/customer/www/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(7754): delete_po
- The topic ‘Fatal Error type E-ERROR’ is closed to new replies.