I'm having problems setting up WooCommerce on a child theme in WordPress.
Everything appears to be fine, until you get to the cart and checkout pages, where I get this error:
Fatal error: Call to a member function is_visible() on a non-object in /home/electric/public_html/test/creative/wp-content/plugins/woocommerce/templates/content-product.php on line 23
I've Googled, read tutorials and guides but nothing seems to fix it. Has anyone else experienced a similar problem, and can offer a solution?
I've uninstalled the plugin, deactivated/reactivated and changed templates. Also tried resetting permalinks a few times, but to no avail.
It works fine on the default twentyeleven theme, but since it's a child theme I'm using, I would have thought it would inherit the functions etc from the parent theme?
Hope someone has a solution!