• Resolved Jason Wall

    (@jasonkwall)


    Fatal error: Call to a member function mfunc_wrapper() on a non-object in /home/…/theme-woocommerce.php on line 179

    Code on line 179:

    function wootique_cart_link() {
    	global $woocommerce;
    	$woocommerce->mfunc_wrapper( 'woocommerce_cart_link()', 'woocommerce_cart_link', $woocommerce );
    }
    
    function wootique_checkout_link() {
    	global $woocommerce;
    	$woocommerce->mfunc_wrapper( 'wootique_checkout_button()', 'wootique_checkout_button', $woocommerce );
    }

    I deactivated child theme and all plugins, I still get this error. I have the most recent version of WordPress, Wootique, and Woocommerce. I am probably going to restore on the server side so the site operates properly. I am guessing it has something to do with the Wootique version or framework. Any advise would be appreciated.

    Site is wallwoodworks.com

    https://wordpress.org/plugins/woocommerce/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Jason Wall

    (@jasonkwall)

    They say they are going to update tomorrow, maybe this will get fixed.

    Make sure you’re using the latest version of Wootique. The latest version is 1.6.9 and the mfunc wrapper was removed last year. From the changelog:

    2013.04.17 – version 1.6.5
    * includes/theme-woocommerce.php – Removed mfunc_wrapper.

    Thread Starter Jason Wall

    (@jasonkwall)

    Thanks so much for responding Daniel. You are correct it was removed. Almost a year… ago….? That means when I installed the version that I thought was “the most recent” it was in fact not. I received and email earlier this evening on the update. The odd thing is I keep every other plugin & theme up to date via the WordPress dashboard. There was no notification of this in the WordPress dashboard.

    I think that is poor design.

    Every other plugin I use takes advantage of this feature within the WordPress. But heck I am green when it comes to coding and definitely greener when it comes to design.

    That would be nice. Hopefully theme updates happens soon.

    Thread Starter Jason Wall

    (@jasonkwall)

    Apparently Woo has a plugin called WooThemes Helper. This helps manage their software within your site. You have to enter a license key for everything you use, even if its a free theme or plugin. If it is a free plugin or theme you have to checkout on their site and get a license key. Enter the key into the helper and voila. It notifies you when there is an update.

    Kudoes to Andrew from Woo for taking the time to answer my questions and knowing what he was talking about.

    Andrew is awesome, but don’t tell him I said so. We don’t want him getting a big head 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal Error with mfunc_wrapper()’ is closed to new replies.