500 Error when trying to delete Woocommerce order

Hello!

I have a 500 error when trying to delete an Woocommerce order and I cannot find what is wrong, I attached the debug file.

Thank you!

  • Luís
    • Support

    Hi Alex ,

    Hope you're doing well today!

    Checking your debug.log, I only found a PHP error related to Woocommerce:

    PHP Fatal error: Call to undefined function wp_cache_incr() in wp-content/plugins/woocommerce/includes/class-wc-cache-helper.php on line 50

    Are you using any cache plugin? W3 Total Cache? Can you try clear the cache or disable the plugin a try delete the order again?

    Also, during the re-search I made, I found some recommendations to increase the "memory_limit" variable. Can you try it, please? There are some methods to do this, so, I think this article may help you:

    https://premium.wpmudev.org/blog/increase-memory-limit/

    I hope this information has been helpful. If I can help you in this or other questions, please let me know!

    Cheers, Luís

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.