Wishlist error - by zhifi - on WordPress WooCommerce support

This topic has 15 replies, 5 voices, and was last updated 9 years, 12 months ago ago by Stan Russell

  • Avatar: zhifi
    zhifi
    Participant
    February 27, 2015 at 20:39

    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
    February 27, 2015 at 20:56

    Hello,

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

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: beer1137
    beer1137
    Participant
    March 1, 2015 at 10:57

    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
    March 1, 2015 at 19:09

    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
    March 2, 2015 at 11:34

    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
    March 2, 2015 at 14:56

    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
    March 2, 2015 at 16:14

    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
    March 2, 2015 at 16:48

    Please Help !

    .com/wishlist/view/

    404
    OOPS! PAGE NOT FOUND

    Please, contact administrator
    for this information.
    Avatar: rodolforizzo76
    Rodolfo
    Participant
    March 2, 2015 at 19:11

    you can not remove products from wishlist.

    you can not remove products

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant
    March 2, 2015 at 19:27

    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
    March 2, 2015 at 19:29

    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
    March 2, 2015 at 20:11

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

    options singol page product

    Avatar: Eva
    Eva Kemp
    Participant
    March 3, 2015 at 09:46

    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
    March 3, 2015 at 09:51

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

    Avatar: stan
    Stan Russell
    Participant
    March 3, 2015 at 10:53

    Hello rodolforizzo76,

    you are right. There is not a problem.

    Regards,
    Stan Russell.

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

You must be logged in to reply to this topic.Log in/Sign up

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