• Resolved mookie4a4

    (@mookie4a4)


    PHP Fatal error: Uncaught Error: Call to undefined method WC_Order::get_currency() in /wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/wgact.php:385

    Please help or fix. I’ve had to disable this plugin because this was breaking the order confirmation page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author alekv

    (@alekv)

    Hi @mookie4a4

    This looks like you are running an old WooCommerce version. What version is it?

    The $order->get_currency() function only changed recently in WooCommerce (since version 3.0), so I’ve published a new version of our plugin which will keep backwards compatibility for a while.

    You can go ahead, download and install the new version.

    Regards
    Aleks

    Thread Starter mookie4a4

    (@mookie4a4)

    Hello

    Thanks very much for your quick response and fix.

    Cheers
    Matt

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘php fatal error’ is closed to new replies.