Title: Error while creating feed
Last modified: September 14, 2023

---

# Error while creating feed

 *  Resolved [Cedric Scherpenberg](https://wordpress.org/support/users/cedric_s/)
 * (@cedric_s)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-while-creating-feed-2/)
 * 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.1Active 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:2Stack 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)

 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-while-creating-feed-2/#post-17049932)
 * 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](https://wordpress.org/support/users/cedric_s/)
 * (@cedric_s)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-while-creating-feed-2/#post-17049962)
 * 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.
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-while-creating-feed-2/#post-17049968)
 * Are you on a really old version of WooCommerce?
 *  Thread Starter [Cedric Scherpenberg](https://wordpress.org/support/users/cedric_s/)
 * (@cedric_s)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-while-creating-feed-2/#post-17050002)
 * 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.
    -  This reply was modified 2 years, 8 months ago by [Cedric Scherpenberg](https://wordpress.org/support/users/cedric_s/).
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-while-creating-feed-2/#post-17050164)
 * 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](https://wordpress.org/support/users/cedric_s/)
 * (@cedric_s)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-while-creating-feed-2/#post-17051092)
 * 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!
    -  This reply was modified 2 years, 8 months ago by [Cedric Scherpenberg](https://wordpress.org/support/users/cedric_s/).
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-while-creating-feed-2/#post-17051349)
 * 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.

 * ![](https://ps.w.org/woo-product-feed-pro/assets/icon-256x256.png?rev=3111496)
 * [Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce](https://wordpress.org/plugins/woo-product-feed-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-feed-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-feed-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-feed-pro/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/error-while-creating-feed-2/#post-17051349)
 * Status: resolved