• paulcreatordigitalcomau

    (@paulcreatordigitalcomau)


    PHP Fatal error: Uncaught Error: Call to undefined function get_woocommerce_currency() in /plugins/woo-product-feed-pro/woocommerce-sea.php:245

Viewing 6 replies - 1 through 6 (of 6 total)
  • supportadtribes

    (@supportadtribes)

    Hi,

    Thanks for using our plugin and reaching out to us. The get_woocommerce_currency() function is a native WooCommerce function since version 8.2.1 of WooCommerce. When you are getting an error on it it means you are either on an old version of WooCommerce and need to update it or you did not configure a currency in WooCommerce yet?

    Thread Starter paulcreatordigitalcomau

    (@paulcreatordigitalcomau)

    woocommerce v: 8.3.1

    wordpress: 6.4.1

    Woocommerce currency is set to Australian Dollar in woocommerce > settings

    Hi,

    Thanks for this. We have tried to replicate this but for us all seems to be working fine. Can you share screenshots of your WooCommerce > Settings > General page?

    Also:

    1. Are you using a (multi)currency plugin?
    2. Did you create products already with prices set?
    Thread Starter paulcreatordigitalcomau

    (@paulcreatordigitalcomau)

    no multi currency plugin used.

    https://snipboard.io/LClP9K.jpg

    as a work around I have done the following which you’ll find more efficient anyway.

    https://snipboard.io/y6Gmuk.jpg

    Thread Starter paulcreatordigitalcomau

    (@paulcreatordigitalcomau)

    obviously still caused a problem after you updated… please implement the following.
    woocommerce-sea.php


    They don’t need to run if the user isn’t adding the facebook pixel!

    I too am getting undefined. I am investigating.

    • This reply was modified 7 months, 3 weeks ago by HamishAhern.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Uncaught Error: Call to undefined function get_woocommerce_currency()’ is closed to new replies.