Error with WooCommerce 3.0.1. and Cherry Framework 3.1.5

Lucas asked 3 years ago

Hi there,
I’m using Woocommerce version 3.0.1 and Cherry Framework 3.1.5 on my website. Since the update of WooCommerce i get the following error message.
The System Status page doesn’t load anymore, I’m getting the following message:
Fatal error: Uncaught Error: Call to undefined function prepare_request() in /var/www/vhosts/ Stack trace: #0 /var/www/vhosts/ my_theme_api_call(false, ‘theme_informati…’, Object(stdClass)) #1 /var/www/vhosts/ WP_Hook->apply_filters(false, Array) #2 /var/www/vhosts/ apply_filters(‘themes_api’, false, ‘theme_informati…’, Object(stdClass)) #3 /var/www/vhosts/ themes_api(‘theme_informati…’, Object(stdClass)) #4 /var/www/vhosts/ WC_Admin_Status::get_latest_theme_version(Object(WP_Theme)) #5 /var/www/vhosts/ in /var/www/vhosts/ on line 85
What i’ve tried:
Asked WooCommerce and they reffered me to you when I tried the following:
Deactivate all plugins except WooCommerce and active the standard template Twenty Sixteen and then WooCommerce Syste Status page works.
Hope you can come with a solution / update for the issue.
Kind regards,

7 Answers
Dccreatives answered 3 years ago

I am having the same issue. I was wondering if upgrading to latest cherry framework would help

Dccreatives answered 3 years ago

And my system status page in woocommerce is not working once I upgraded.

Elliot answered 3 years ago

Im having the same issue as well…

IT2day answered 3 years ago

@thehowarde wrote on my woocommerce topic the solution, well actually a temporarily one as Cherry Framework need to come with an update.
To work around this (for CherryFramework 3), you can go to
Comment out line 5
//include_once (PARENT_DIR . ‘/admin/data_management/update.php’);
This will disable the CherryFramework updates which is what is causing the error that prevents the system status from displaying.

Jason Russo answered 1 year ago

Thank you very much! This worked.

fiona answered 8 months ago

tried this but no admin file 

Chris answered 3 weeks ago

To anyone Googling this because your CF 3 web sites flew off the rails due to WP/PHP updates… add this to your child theme’s functions.php file. It’s a function that appears to have been part of a library that has since been removed. This is copied straight from the original source, and appears to work for me. Then, do yourself a favor, and begin the unfortunate task of migrating your clients’ sites to a framework that actually allows you to update it without a full f&*$%ing rebuild of the site. So far, we’re liking Avada for that, but your mileage may vary.
function prepare_request($action, $args = array()){
global $wp_version;
return array( ‘woo_sl_action’ => $action, ‘version’ => SL_VERSION, ‘product_unique_id’ => SL_PRODUCT_ID, ‘licence_key’ => $licence_key, ‘domain’ => SL_INSTANCE,
‘wp-version’ => $wp_version,

Your Answer

5 + 2 =