Getting a Fatal error: Class ‘Etheme_WooCommerce_Widget_Cart’ not found in …

This topic has 14 replies, 5 voices, and was last updated 8 years ago ago by Jack Richardson

  • Avatar: Delcliseur1
    Delcliseur1
    Participant
    October 31, 2016 at 15:26

    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

    13 Answers
    Avatar: andyreece
    andyreece
    Participant
    October 31, 2016 at 16:42

    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

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 31, 2016 at 17:45

    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.

    Avatar: andyreece
    andyreece
    Participant
    October 31, 2016 at 18:14

    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

    Avatar: Eva
    Eva Kemp
    Support staff
    October 31, 2016 at 18:36

    Hello @andyreece,

    Please provide FTP and WP admin credentials in Private Content.

    Regards,
    Eva Kemp.

    Avatar: Delcliseur1
    Delcliseur1
    Participant
    October 31, 2016 at 20:14

    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

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 31, 2016 at 20:28

    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.

    Avatar: Delcliseur1
    Delcliseur1
    Participant
    October 31, 2016 at 21:45

    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

    Avatar: Delcliseur1
    Delcliseur1
    Participant
    October 31, 2016 at 23:23

    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

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    November 1, 2016 at 09:05

    Hello @Delcliseur1,

    To investigate this issue we need your FTP and WP admin credentials.
    Have you modified original theme files?

    Best regards,
    Jack Richardson.

    Avatar: Delcliseur1
    Delcliseur1
    Participant
    November 1, 2016 at 09:23

    Hi Jack,

    I only added dutch language files. No changes made.
    I’ll send you the details, but please be carefull.

    kind regards,
    Jeroen

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    November 1, 2016 at 16:05

    Hello @Delcliseur1,

    The issue has been fixed.
    Please check your site now.

    Best regards,
    Jack Richardson.

    Avatar: Afsaneh
    Afsaneh
    Participant
    November 7, 2016 at 15:43

    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

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    November 7, 2016 at 17:13

    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.

  • Viewing 14 results - 1 through 14 (of 14 total)

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

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.