Fatal error: Call to a member function is_on_sale()
-
Hi everyone,
It seems that, when the pages used by WooCommerce were created, the worked fine. However, after making any change to a WC page, the page assumes the style of the template.
I don’t like the “default” page template of my theme (it has a sidebar), so I went to a WC page and changed from default to a page template that is full width.
After changing the page template, I’m now getting a error:
Fatal error: Call to a member function is_on_sale() on a non-object in /removed/wp-content/plugins/woocommerce/templates/single-product/sale-flash.php on line 14
The ONLY way for this page to work again, is to change the page tempalte to default again (and have, for example in my case, the sidebar).
Am I missing something?
[Moderator Note: No bumping, thank you.]
- The topic ‘Fatal error: Call to a member function is_on_sale()’ is closed to new replies.