Title: Fatal errors and duplicate orders
Last modified: September 21, 2021

---

# Fatal errors and duplicate orders

 *  [schoefl](https://wordpress.org/support/users/zemekis148/)
 * (@zemekis148)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/fatal-errors-and-duplicate-orders/)
 * With the new version of Woocommerce I keep getting error messages like
 * ‘Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate
   33554440 bytes) in … /wp-content/plugins/woocommerce/includes/data-stores/class-
   wc-data-store-wp.php
    on line 112. ‘ My memory_size = 600
 * I go to Woocommerce-Admin in the dashboard – Fatal Error. I’m trying to disable
   the plugin – Fatal Error …
 * And there is even more trouble: for a few days now, every order has appeared 
   twice in the overview. I don’t know yet whether the customer got the email and
   the invoice twice.
 * Please help!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-errors-and-duplicate-orders%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [con](https://wordpress.org/support/users/conschneider/)
 * (@conschneider)
 * Engineer
 * [4 years, 8 months ago](https://wordpress.org/support/topic/fatal-errors-and-duplicate-orders/#post-14896940)
 * Hi there,
 * Thank you for posting the error message. Let’s start with your memory settings:`
   My memory_size = 600`. A value of `600` is likely faulty.
 * Could you change that value in one of the way explained here: [https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/](https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/)–`
   256M` is a good starting value to go with.
 * Kind regards,
 *  [mathewborja](https://wordpress.org/support/users/mathewborja/)
 * (@mathewborja)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/fatal-errors-and-duplicate-orders/#post-14897237)
 * [@conschneider](https://wordpress.org/support/users/conschneider/) this is not
   a memory limit issue. This is a wide-spread issue that needs an urgent bug fix.
   Seems to be a leak in the code consuming resources.
 *  Thread Starter [schoefl](https://wordpress.org/support/users/zemekis148/)
 * (@zemekis148)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/fatal-errors-and-duplicate-orders/#post-14905755)
 * Hi there,
 * Thanks for your answers. I spent the last days and nights repairing the database.
   I somehow lost the KEYs in some tables. I don’t know why and how.
 * In any case, I had tens of thousands of auto-drafts, orders, actions, etc. with
   the not at all unique key ‘0’. The problem had apparently been around since July
   7th and was only now getting really acute. I rebuilt the original table structure
   using old backups.
 * Thanks for the support!
    Günter

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fatal errors and duplicate orders’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [schoefl](https://wordpress.org/support/users/zemekis148/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/fatal-errors-and-duplicate-orders/#post-14905755)
 * Status: not resolved