Tagged: woocommerce
Howdy,
We just upgraded to 3.0.5 this morning and were met with a blank site, the cause was:
PHP Fatal error: Call to undefined function wc_get_page_id() in /home/path/wp-content/themes/enfold/config-woocommerce/config.php on line 1369
Yes we use WC and the version is in the private content part.
Resolved for now by commenting it out:
/*
if($post_id == wc_get_page_id( 'shop' ))
{
$params = false;
}
*/
Thought you should be aware just incase someone else gets this as well.
Matt
Hi Matt!
Thank you for using Enfold.
You’re currently using an old version of the plugin. Please upgrade it.
Best regards,
Ismael
Hi Ismael,
That would be the cause. Enfold version 3.0.5 does not work with WooCommerce 2.0.20.
May I suggest a warning for other users so that they don’t run into the same issue (as updating is not always a quick option).
Matt