Call to undefined method WooCommerce::mfunc_wrapper() in header.php

After updating a wordpress site using the WooCommerce plugin, the site would no longer load. Searching the web showed that many others have had the same error. Tried a variety of solutions, nothing other than restoring the downgraded site worked; but since I didn’t want to downgrade to potentially unsecure plugins, I took matters into my own hands.

I commented out the function “WooCommerce::mfunc_wrapper” in header.php on line 58

## $woocommerce->mfunc_wrapper( ‘superstore_mini_cart()’, ‘superstore_mini_cart’, $woocommerce );

and now the site loads with no errors!

Apparently this is due to an outdated ‘wootique’ theme or some other related outdated plugin or theme that doesn’t tell wordpress it needs an update. At least commenting it out restores site functionality.

This entry was posted in Uncategorized. Bookmark the permalink.

1 Response to Call to undefined method WooCommerce::mfunc_wrapper() in header.php

Leave a Reply

Your email address will not be published. Required fields are marked *