This topic has 14 replies, 5 voices, and was last updated 8 years ago ago by Jack Richardson
Hi,
I wanted to update idstore v 4.1 to 4.2 but then the page loads until the cart and shows: “Getting a Fatal error: Class ‘Etheme_WooCommerce_Widget_Cart’ not found in …”
The site has the latest updates of wordpress and woocommerce. I did not make any modifications.
I restored my old theme now.
How can I fix this?
Kind regards,
Jeroen Egbertzen
Hi
I have the same issue
I have looked and see that the class Etheme_WooCommerce_Widget_Cart is no longer included in the code/woo.php file or any other file but is still called in the header.php file
Cheers
Andy
Hello,
You need also delete “woocommerce” folder in the directory wp-content/themes/idstore/ and
reupload it from a new theme package.
Best regards,
Jack Richardson.
Hi
Thanks for the quick reply, unfortunately this doesn’t resolve the issue
as the ‘Etheme_WooCommerce_Widget_Cart’ is not referenced anywhere in the code apart from the header.php so causes an error as the class doesn’t exist when the header tries to run
When you say
reupload it from a new theme package.
What exactly do you mean as I have uploaded the new theme in whole that was downloaded from ThemeForest so this is the latest woocommerce folder
Also just looking at the latest download the version actually says 4.1.1 in the stylesheet not 4.2 even though the zipped file says 4.2. Is this the correct download?
Cheers
Andy
Hello @andyreece,
Please provide FTP and WP admin credentials in Private Content.
Regards,
Eva Kemp.
Hi Eva,
It would be nice if you could help me out as well? It’s my post by the way!
Anyway, I have to know what you are going to do if I give you ftp and WP admin credentials as it is a live site. Can you not just tell me what to do?
I also overwrite my theme with the full new theme package.
kind regards,
Jeroen
Hello @Delcliseur1,
We’ll try to reupload theme files. May we do this?
Please provide FTP and WP Dashboard credentials in Private Content.
Best regards,
Jack Richardson.
Hi Jack,
Why can I not do this myself? Do you remove the current theme first? Or just upload it again?
I want to restore a backup instantly, when it does not work.
kind regards,
Jeroen
I just tried to remove the theme and reinstall it. Now luck.
I really just can’t let you do this on my live site, as customers are online most of the time. Are you uploading different files? Please could you help me out, as the old cart does not work properly.
kind regards,
Jeroen
Hello @Delcliseur1,
To investigate this issue we need your FTP and WP admin credentials.
Have you modified original theme files?
Best regards,
Jack Richardson.
Hi Jack,
I only added dutch language files. No changes made.
I’ll send you the details, but please be carefull.
kind regards,
Jeroen
Hello @Delcliseur1,
The issue has been fixed.
Please check your site now.
Best regards,
Jack Richardson.
Hello,
Same issu with the last update, I tryed reupload WooCommerce folder in the theme but bug not fixed.
Second header variant work on my website while waiting good issu with default header (the first).
can you explain solution to fix it ?
Thank you
Hello @Afsanehm,
You need edit the file header.php, replace this code <?php $cart_widget = new Etheme_WooCommerce_Widget_Cart(); $cart_widget->widget(); ?>
http://prnt.sc/d1pf0u with this one <?php etheme_top_cart(); ?>
http://prnt.sc/d1pfcy.
The issue will be fixed in the theme update.
Please take our apologies.
Best regards,
Jack Richardson.
The issue related to '‘Getting a Fatal error: Class ‘Etheme_WooCommerce_Widget_Cart’ not found in …’' has been successfully resolved, and the topic is now closed for further responses