Problem:
I am using WooCommerce version 3.9.0 and Cherry Framework 3.1.5 on my website. I started getting emails for technical issues in my System Status page of WooCommerce.
When I have opened that page from the admin side, I got the following message:
There has been a critical error on your website. Please check your site admin email inbox for instructions.
Learn more about debugging in WordPress.
Also, I am getting following errors message by email:
Error Details
=============
An error of type E_ERROR was caused in line 85 of the file /htdocs/my-website-name/wp-content/themes/CherryFramework/admin/data_management/update.php. Error message: Uncaught Error: Call to undefined function prepare_request() in /htdocs/my-website-name/wp-content/themes/CherryFramework/admin/data_management/update.php:85
Stack trace:
#0 /htdocs/my-website-name/wp-includes/class-wp-hook.php(288): my_theme_api_call(false, ‘theme_informati…’, Object(stdClass))
#1 /htdocs/my-website-name/wp-includes/plugin.php(206): WP_Hook->apply_filters(false, Array)
#2 /htdocs/my-website-name/wp-admin/includes/theme.php(485): apply_filters(‘themes_api’, false, ‘theme_informati…’, Object(stdClass))
#3 /htdocs/my-website-name/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-status.php(239): themes_api(‘theme_informati…’, Object(stdClass))
#4 /htdocs/my-website-name/wp-content/plugins/woocommerce/packages/woocommerce-rest-api/src/Controllers/Version2/class-wc-rest-system-status-v2-controller.php(963): WC_Admin_Status::get_late
Solution:
So i have gone through all steps what they have suggested to me by email. Also i have googled error and dig into brief from myself as per my understanding. After all things done, i have found out that Cherry Framework need to come with an update.
So if you want to get rid of this error, you have to do the following steps:
- wp-content/themes/CherryFramework/admin/data_management/data_management_interface.php
- Comment out line 5 //include_once (PARENT_DIR . ‘/admin/data_management/update.php’);
- Save file and refresh System status page of WooCommerce
This will disable the Cherry Framework updates which is causing the error that prevents the system status from displaying.