Error after deinstall Woocommerce

Hi,

I would like to delete my woocommerce shop.

When I deactiviate the plugin I got the 4 followings errors on my home page.

Warning : No rule matching function for wc_is_cart in /home/customer/www/polderevents.com/public_html/wp-content/themes/pro/cornerstone/includes/classes/Services/RuleMatching.php on line 53

Warning : No rule matching function for wc_is_checkout in /home/customer/www/polderevents.com/public_html/wp-content/themes/pro/cornerstone/includes/classes/Services/RuleMatching.php on line 53

Warning : No rule matching function for archive_shop in /home/customer/www/polderevents.com/public_html/wp-content/themes/pro/cornerstone/includes/classes/Services/RuleMatching.php on line 53

Warning : No rule matching function for single_product in /home/customer/www/polderevents.com/public_html/wp-content/themes/pro/cornerstone/includes/classes/Services/RuleMatching.php on line 53

On the page where te webshop is activate i got the following error

Fatal error : Uncaught Error: Call to undefined function wc_get_products() in /home/customer/www/polderevents.com/public_html/wp-content/themes/pro/cornerstone/includes/views/partials/products.php:41 Stack trace: #0 /home/customer/www/polderevents.com/public_html/wp-content/themes/pro/cornerstone/includes/functions/helpers.php(1552): include() #1 /home/customer/www/polderevents.com/public_html/wp-content/themes/pro/cornerstone/includes/functions/helpers.php(1565): cs_render_view(’/home/customer/…’, Array) #2 /home/customer/www/polderevents.com/public_html/wp-content/themes/pro/cornerstone/includes/functions/helpers.php(1585): cs_get_view(‘partials/produc…’, Array, false) #3 /home/customer/www/polderevents.com/public_html/wp-content/themes/pro/cornerstone/includes/elements/definitions/tp-wc-products.php(52): cs_get_partial_view(‘products’, Array) #4 /home/customer/www/polderevents.com/public_html/wp-content/themes/pro/cornerstone/includes/classes/Elements/Renderer.php(185): x_element_render_tp_wc_products_main_loop(Arra in /home/customer/www/polderevents.com/public_html/wp-content/themes/pro/cornerstone/includes/views/partials/products.php on line 41

I have the newest version of woocomerce and theme x pro and cleared all the cashing.

Hope you can help

Hello @Rico,

Thanks for writing in! Please check your child theme’s function.php file. You may have a custom PHP code that uses the Woo Cart element. If you have used any of the WooCommerce Dynamic elements in the builder, it is best that you remove them too since you are uninstalling WooCommerce.

We would love to check your site if we can log in. You can create a secure note in your next reply with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
– Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

image

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.