Fatal Error, function is_visible on a non object
I have been facing the following 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
No matter what I try, I can’t seem to get rid of it. It’s occurring in the main shop page but single products and product categories are loading just fine.
I have tried the following to fix it:-
1) Save permalinks again
2) Deactivate and reactivate the plugin then save permalinks
3) Ensure there are products in the store
4) Disable all plugins except woocommerce
5) Change to WordPress 2013 theme and see if the error still exists
6) Use a custom page template with woocommerce_content()
Same problem continues to exist in all cases.
- The topic ‘Fatal Error, function is_visible on a non object’ is closed to new replies.