• I am getting this error on all woocommerce cart and checkout pages when I tried to develop them.

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

    Have tried uninstalling woo and reinstalling. Rebuilt my permalinks. Uninstalled all plugins. I use Headway Theme. The cart showed up in 2012 them but the store did not (it’s the opposite in Headway theme). After I reinstalled WooCommerce, I now get the same error on my shop page and it wasn’t there before. Although it loads correctly with the shop.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor James Koster

    (@jameskoster)

    Resaving permalinks normally fixes things like this. Maybe try clearing expired transients etc on the System Status > Tools page.

    Is Headway definitely WooCommerce 2.0 compatible?

    intercloud

    (@intercloudhost)

    As jameskoster says, resaving permalinks normally fixes the issue.

    One of the most common situations when this happens is when you rename the permalink name of the store; for example, from “shop” to whatever you like (a translation for example).

    Be carefull to re-save your changes once you get the error. It’s an odd issue, but this renaming and resaving task might be an easy way out to get rid of the warning.

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