• Hi!

    Lovely plugin, used it multiple times but on a recent website I’m getting an error when I try to create a Google Shopping feed.
    Tried it with disabling all the plugins except this one and WooCommerce, used a standard theme and tried the last 3 versions of your plugin. All without succes. Any idea what I could do? Thanks in advance!

    —-
    error: There has been a critical error on this website. Please check your site admin email inbox for instructions.
    —–

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.3.1
    Active theme: Divi (version 4.22.1)
    Current plugin: Product Feed PRO for WooCommerce (version 12.9.3)
    PHP version 7.4.33

    Error Details
    =============
    An error of type E_ERROR was caused in line 2 of the file /data/sites/web/americancarpartnereu/www/wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-generate-feed-step-0.php. Error message: Uncaught Error: Call to undefined function get_woocommerce_currency() in /data/sites/web/americancarpartnereu/www/wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-generate-feed-step-0.php:2
    Stack trace:
    #0 /data/sites/web/americancarpartnereu/www/wp-includes/template.php(785): require_once()
    #1 /data/sites/web/americancarpartnereu/www/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4529): load_template(‘/data/sites/web…’)
    #2 /data/sites/web/americancarpartnereu/www/wp-includes/class-wp-hook.php(310): woosea_generate_pages(”)
    #3 /data/sites/web/americancarpartnereu/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array)
    #4 /data/sites/web/americancarpartnereu/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #5 /data/sites/web/americancarpartnereu/www/wp-admin/admin.php(259): do_action(‘toplevel_page_w…’)
    #6 {main}
     thrown

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thanks for using our plugin and reaching out to us. The get_woocommerce_currency() is a normal WooCommerce function so it definitely should be recognized, unless you have, for example, disabled WooCommerce itself or did not set a currency in WooCommerce itself yet?

    Thread Starter Cedric Scherpenberg

    (@cedric_s)

    Thanks for quick reply.
    WooCommerce is enabled and the standard currency is set to euro. Shop is already receiving orders so WooCommerce setup should be fine.

    Are you on a really old version of WooCommerce?

    Thread Starter Cedric Scherpenberg

    (@cedric_s)

    Running WooCommerce on version 8.1.0

    In the meantime, I updated PHP from 7.4.33 to 8.0.30 but it is still happening.

    I am afraid there is not so much we can do about this. The function get_woocommerce_currency()?is a native WooCommerce function that should be there when you installed WooCommerce. Would it be an option for you to re-install WooCommerce to see if that solves the issue at hand?

    Thread Starter Cedric Scherpenberg

    (@cedric_s)

    Hi

    Figured it out. Reinstalled wordpress & woocommerce, after that I got no more error but a white screen. Upgraded host with more memory and changed the WP_MEMORY_LIMIT in wp_config and it’s working now.

    Thanks for quick replies!

    Perfect, thanks for the heads-up and good to hear your got it to work.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error while creating feed’ is closed to new replies.