Wishlist error - by zhifi - on WordPress WooCommerce support

14 replies5 participantsUpdated by Stan Russell

  • Avatar: zhifi
    zhifi
    Participant

    Is there a fix for the wishlist error?

    Fatal error: Call to undefined method WooCommerce::show_messages() in /home/******/public_html/***********/wp-content/themes/woopress/woocommerce/wishlist.php on line 57

    14 Answers

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    The issue has been fixed.
    Please check Wishlist page now.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: beer1137
    beer1137
    Participant

    How to Fix ?

    Fatal error: Call to undefined method WooCommerce::show_messages() in /home/******/public_html/***********/wp-content/themes/woopress/woocommerce/wishlist.php on line 57

    Avatar: rodolforizzo76
    Rodolfo
    Participant

    I also get this error, how to solve?

    Fatal error: Call to undefined method WooCommerce::show_messages() in /web/htdocs/www.fiorinaedizioni.com/home/wp-content/themes/woopress/woocommerce/wishlist.php on line 58

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    You need edit the file wp-content/themes/woopress/woocommerce/wishlist.php (line 58) and
    replace $woocommerce->show_messages(); with wc_print_notices();.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: rodolforizzo76
    Rodolfo
    Participant

    I made the change:

    ...
    // Start wishlist page printing
    //questa riga genera un errore: Call to undefined method WooCommerce::show_messages() 
    //$woocommerce->show_messages() 
    wc_print_notices();
    ?>
    <div id="yith-wcwl-messages"></div>
    ...

    Now do not get more error, but now, feeling the wish list, I realized that not cleared products… It is a problem related to that particular file (wishlist.php)? You want me to enclose the entire file?

    greetings.

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    Could you please clarify your last query with more details?
    Also please provide us with wp-admin panel and FTP credentials in Private Content.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: beer1137
    beer1137
    Participant

    Please Help !

    .com/wishlist/view/

    404
    OOPS! PAGE NOT FOUND

    Please, contact administrator
    for this information.
    Avatar: rodolforizzo76
    Rodolfo
    Participant

    you can not remove products from wishlist.

    you can not remove products

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant

    Hello @rodolforizzo76,

    You need disable Ajax “Add to cart” in Theme Options > Single Product Page.
    We’ll fix this bug in the future update.

    Sorry for inconveniences.
    Regards,
    Eva Kemp.

    Avatar: Eva
    Eva Kemp
    Participant

    Hello @beer1137,

    Please provide us with wp-admin panel credentials in Private Content.
    Also try to resave permalinks settings in Settings > Permalinks and check Wishlist page again.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: rodolforizzo76
    Rodolfo
    Participant

    I did as you said but it still does not work…

    options singol page product

    Avatar: Eva
    Eva Kemp
    Participant

    Hello @rodolforizzo76,

    Please remove the file wp-content/themes/woopress/woocommerce/wishlist.php and check Wishlist page after that.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: rodolforizzo76
    Rodolfo
    Participant

    Ok, so it works. Not a problem if file is missing wishlist.php?
    thank you.

    Avatar: stan
    Stan Russell
    Participant

    Hello rodolforizzo76,

    you are right. There is not a problem.

    Regards,
    Stan Russell.

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register