WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » Fatal error: Call to a member function is_visible() on a non-object

Fatal error: Call to a member function is_visible() on a non-object

  • 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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    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

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: Call to a member function is_visible() on a non-object’ is closed to new replies.
Skip to toolbar