WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Fatal error: Call to a member function is_visible() on a non-object (4 posts)

  1. dhaval_jani
    Member
    Posted 1 year ago #

    Hey There,

    I am using woocommerce with wordpress 3.5.1 on a custom theme and while checkout using paypal,I get this error and cannot proceed. I have done trying deactivating and reactivating the plugin and also change of permalinks. This is very important to get it resolved as Everything is done from theming to adding products and all the information and checking at last, I came to know about this error. It is really frustrating.
    Seeking your kind help.

    Thanks in advance
    Dhaval Jani

    error : Fatal error: Call to a member function is_visible() on a non-object in /wp-content/plugins/woocommerce/templates/content-product.php on line 25

    http://wordpress.org/extend/plugins/woocommerce/

  2. Coen Jacobs
    Member
    Plugin Author

    Posted 1 year ago #

    What version of WooCommerce are you using? Are you running any premium extensions as purchased from woothemes.com? Have you updated to the latest available version?

    The same goes for premium themes from woothemes.com. In this case, please use our support portal to get support for your premium products.

    If you are using a theme or a plugin purchased/downloaded through a third party, please contact them to see if there is an update available, which makes the code compatible with WooCommerce 2.0 (if you are using that, which I assume).

    The problem is probably something in your website is still using new WC_Product( $id ), where it should be using get_product( $id ) now.

  3. dhaval_jani
    Member
    Posted 1 year ago #

    Hey Jacobs,

    Thanks for your reply. These are some details that might be useful rectifying my problem :

    WC Version: 2.0.3
    WC Database Version: 2.0.3
    WP Version: WP 3.5.1
    Web Server Info: Apache
    PHP Version: 5.3.13
    MySQL Version: 5.1.56-log

    Awaiting your reply and solution

    Thanks

  4. Coen Jacobs
    Member
    Plugin Author

    Posted 1 year ago #

    No, it all depends on what plugins and theme you are using. That's why I wanted to know what (third party) theme and plugins you use.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic