Title: Fatal error and cannot save orders
Last modified: August 5, 2023

---

# Fatal error and cannot save orders

 *  Resolved [Fernando Tellado](https://wordpress.org/support/users/fernandot/)
 * (@fernandot)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-and-cannot-save-orders/)
 * Hi, and thank you for the plugin.
 * We cannot save any order in our Ecommerce. When we try to create an order the
   site is hung for minutes and, afterward the site shows a WP fatal error and the
   order appears as a draft, with none o very little info saved
 * I’ve tried to deactivate the plugins and the one who appears to be the guilty
   of this behaviour is Cost of Goods.
 * I’ve tried in two different hostings and the results are the same. We can only
   save orders when deactivate this plugin.
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-and-cannot-save-orders%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Moshtafizur](https://wordpress.org/support/users/moshtafizur01/)
 * (@moshtafizur01)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-and-cannot-save-orders/#post-16953299)
 * Hi [@fernandot](https://wordpress.org/support/users/fernandot/),
 * I just tested our plugin but couldn’t reproduce the issue. Could you please ensure
   you are using the latest version of WordPress and WooCommerce? Please let us 
   know.
 * Kind regards,
   Moshtafizur
 *  Thread Starter [Fernando Tellado](https://wordpress.org/support/users/fernandot/)
 * (@fernandot)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-and-cannot-save-orders/#post-16953654)
 * HI [@moshtafizur01](https://wordpress.org/support/users/moshtafizur01/)
 * Sure, I’m using the latest versions of WP and Woo
 *  [Moshtafizur](https://wordpress.org/support/users/moshtafizur01/)
 * (@moshtafizur01)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-and-cannot-save-orders/#post-16955646)
 * Hi [@fernandot](https://wordpress.org/support/users/fernandot/),
 * Thanks for your reply.
 * I have escalated this with our development team. They will get back to you as
   soon as they can.
 * Kind regards,
   Moshtafizur
 *  Thread Starter [Fernando Tellado](https://wordpress.org/support/users/fernandot/)
 * (@fernandot)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-and-cannot-save-orders/#post-16955692)
 * Thank you [@moshtafizur01](https://wordpress.org/support/users/moshtafizur01/)
   
   I’ll wait for a possible solution 😉
 * If your development team needs to test the bug I can give you access to the test
   site
 *  [moseleys3](https://wordpress.org/support/users/moseleys3/)
 * (@moseleys3)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-and-cannot-save-orders/#post-16957313)
 * We are having a similar issue, is there any resolution for this?
 * Thanks,
 * Sam
 *  [moseleys3](https://wordpress.org/support/users/moseleys3/)
 * (@moseleys3)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-and-cannot-save-orders/#post-16957370)
 * In case anyone else is seeing this issue, I rolled back the plugin to 3.0.1 and
   its back working for us.
 * Thanks,
 * Sam
 *  Thread Starter [Fernando Tellado](https://wordpress.org/support/users/fernandot/)
 * (@fernandot)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-and-cannot-save-orders/#post-16957373)
 * Thank you [@moseleys3](https://wordpress.org/support/users/moseleys3/) I’ll roll
   back to previous version til is fixed 😉
 *  [Moshtafizur](https://wordpress.org/support/users/moshtafizur01/)
 * (@moshtafizur01)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-and-cannot-save-orders/#post-16959062)
 * Hi [@fernandot](https://wordpress.org/support/users/fernandot/),
 * I hope you are well today.
 * Would it be possible for you to send us the error log that you receive when you
   try to create an order? We wanted to check the error log to investigate the issue
   further.
 * Kind regards,
   Moshtafizur
 *  Thread Starter [Fernando Tellado](https://wordpress.org/support/users/fernandot/)
 * (@fernandot)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-and-cannot-save-orders/#post-16959070)
 * Hi [@moshtafizur01](https://wordpress.org/support/users/moshtafizur01/)
 * The only error received is this one:
 *     ```wp-block-code
       2023-08-03 12:00:24Error90.171.68.165AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 774144 bytes) in /var/www/vhosts/thesiteaffected.es/httpdocs/wp-content/object-cache.php on line 132', referer: https://thesiteaffected.es/wp-admin/post-new.php?post_type=shop_order
       ```
   
 *  [Moshtafizur](https://wordpress.org/support/users/moshtafizur01/)
 * (@moshtafizur01)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-and-cannot-save-orders/#post-16959125)
 * hi [@fernandot](https://wordpress.org/support/users/fernandot/),
 * Thanks for sending it. We will look into it and get back to you as soon as possible.
 * Kind regards,
   Moshtafizur
 *  Plugin Contributor [Pablo Pacheco](https://wordpress.org/support/users/karzin/)
 * (@karzin)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-and-cannot-save-orders/#post-17064100)
 * Hi guys,
 * Sorry for the delay. The error was fixed on version 3.0.5.
 * It should be ok now. I’m closing the ticket, but let us know if you notice something.

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

The topic ‘Fatal error and cannot save orders’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cost-of-goods-for-woocommerce_d0d4f0.
   svg)
 * [Cost of Goods: Product Cost & Profit Calculator for WooCommerce](https://wordpress.org/plugins/cost-of-goods-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cost-of-goods-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cost-of-goods-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/cost-of-goods-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cost-of-goods-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cost-of-goods-for-woocommerce/reviews/)

 * 11 replies
 * 4 participants
 * Last reply from: [Pablo Pacheco](https://wordpress.org/support/users/karzin/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-and-cannot-save-orders/#post-17064100)
 * Status: resolved