Title: place-order-debug
Last modified: July 31, 2025

---

# place-order-debug

 *  Resolved [trevellfr](https://wordpress.org/support/users/trevellfr/)
 * (@trevellfr)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/place-order-debug/)
 * Hi all,
 * Since a few weeks ago, I have had a few error logs with names like this:
 * place-order-debug-239d1572-2025-07-31 :
 * > 2025-07-31T07:50:03+00:00 Débogage [Shortcode #1] Place Order flow initiated
   > 
   > Contexte supplémentaire { “order_uid”: “xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx”,“
   > store_url”: “[https://example.com](https://example.com)“, “backtrace”: [ { “
   > file”: “/home/xxxxx/xxxxx/wp-content/plugins/woocommerce/includes/class-wc-
   > checkout.php”, “line”: 1301, “function”: “wc_log_order_step” }, { “file”: “/
   > home/xxxxx/xxxxx/wp-content/plugins/woocommerce/includes/class-wc-ajax.php”,“
   > line”: 543, “function”: “process_checkout”, “class”: “WC_Checkout”, “type”:“-
   > >” }, { “file”: “/home/xxxxx/xxxxx/wp-includes/class-wp-hook.php”, “line”: 
   > 324, “function”: “checkout”, “class”: “WC_AJAX”, “type”: “::” } ], “remote-
   > logging”: false }
   > 2025-07-31T07:50:03+00:00 Débogage [Shortcode #2] Session updated with checkout
   > data and totals calculated
   > Contexte supplémentaire { “order_uid”: “xxxxxxxx-
   > xxxx-xxxx-xxxx-xxxxxxxxxxxx”, “store_url”: “[https://example.com](https://example.com)“,“
   > backtrace”: [ { “file”: “/home/xxxxx/xxxxx/wp-content/plugins/woocommerce/includes/
   > class-wc-checkout.php”, “line”: 1318, “function”: “wc_log_order_step” }, { “
   > file”: “/home/xxxxx/xxxxx/wp-content/plugins/woocommerce/includes/class-wc-
   > ajax.php”, “line”: 543, “function”: “process_checkout”, “class”: “WC_Checkout”,“
   > type”: “->” }, { “file”: “/home/xxxxx/xxxxx/wp-includes/class-wp-hook.php”,“
   > line”: 324, “function”: “checkout”, “class”: “WC_AJAX”, “type”: “::” } ], “
   > remote-logging”: false }
 * Another place-order-debug-xxxxxxxxxxxxxxxxxxx :
 * > 2025-07-31T07:47:39+00:00 Débogage [Shortcode #1] Place Order flow initiated
   > 
   > Contexte supplémentaire { “order_uid”: “xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx”,“
   > store_url”: “[https://example.com](https://example.com)“, “backtrace”: [ { “
   > file”: “/home/xxxxx/xxxxx/wp-content/plugins/woocommerce/includes/class-wc-
   > checkout.php”, “line”: 1301, “function”: “wc_log_order_step” }, { “file”: “/
   > home/xxxxx/xxxxx/wp-content/plugins/woocommerce/includes/class-wc-ajax.php”,“
   > line”: 543, “function”: “process_checkout”, “class”: “WC_Checkout”, “type”:“-
   > >” }, { “file”: “/home/xxxxx/xxxxx/wp-includes/class-wp-hook.php”, “line”: 
   > 324, “function”: “checkout”, “class”: “WC_AJAX”, “type”: “::” } ], “remote-
   > logging”: false }
   > 2025-07-31T07:47:39+00:00 Débogage [Shortcode #2] Session updated with checkout
   > data and totals calculated
   > Contexte supplémentaire { “order_uid”: “xxxxxxxx-
   > xxxx-xxxx-xxxx-xxxxxxxxxxxx”, “store_url”: “[https://example.com](https://example.com)“,“
   > backtrace”: [ { “file”: “/home/xxxxx/xxxxx/wp-content/plugins/woocommerce/includes/
   > class-wc-checkout.php”, “line”: 1318, “function”: “wc_log_order_step” }, { “
   > file”: “/home/xxxxx/xxxxx/wp-content/plugins/woocommerce/includes/class-wc-
   > ajax.php”, “line”: 543, “function”: “process_checkout”, “class”: “WC_Checkout”,“
   > type”: “->” }, { “file”: “/home/xxxxx/xxxxx/wp-includes/class-wp-hook.php”,“
   > line”: 324, “function”: “checkout”, “class”: “WC_AJAX”, “type”: “::” } ], “
   > remote-logging”: false }
 * Of course I don’t activate wp-config debug and I have Woo and WordPress at the
   last version.
 * So is it normal ?
 * Best, Bruno.
    -  This topic was modified 10 months, 2 weeks ago by [trevellfr](https://wordpress.org/support/users/trevellfr/).

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

 *  [Moses M. (woo-hc)](https://wordpress.org/support/users/mosesmedh/)
 * (@mosesmedh)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/place-order-debug/#post-18579450)
 * Hi [@trevellfr](https://wordpress.org/support/users/trevellfr/),
 * Thanks for sharing the log file you’re seeing. What you’re looking at is part
   of WooCommerce’s new debug logging system introduced to better trace what’s happening
   during checkout. Specifically, the place-order-debug log tracks the order placement
   flow step by step. It’s mostly meant for developers or support teams and doesn’t
   indicate an error by itself.
 * So unless you’re actively seeing checkout failures or related PHP errors, there’s
   no cause for concern.
 * If you’d rather not see these logs, you can disable WooCommerce debug mode in
   wp-config.php file. Make sure the following lines are either not present or set
   to false:
 *     ```wp-block-code
       define('WP_DEBUG', false);
       define('WC_LOGGING', false); // optional
       ```
   
 * WooCommerce started including this type of logging more visibly from version 
   8.6 onward to help debug checkout issues more efficiently. So if everything’s
   working fine on your site, you’re good to go.
 * Let me know if you have any question or noticing any other issue on your site.
 *  Thread Starter [trevellfr](https://wordpress.org/support/users/trevellfr/)
 * (@trevellfr)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/place-order-debug/#post-18579456)
 * Perfect !
 * Thk you.
 * Bruno
 *  [Moses M. (woo-hc)](https://wordpress.org/support/users/mosesmedh/)
 * (@mosesmedh)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/place-order-debug/#post-18579463)
 * [@trevellfr](https://wordpress.org/support/users/trevellfr/), I’m really glad
   to hear the response was helpful.
 * If you’re enjoying the features WooCommerce offers for your business and found
   the support useful, we’d be grateful if you could leave us a review here: [https://wordpress.org/support/plugin/woocommerce/reviews/#new-post](https://wordpress.org/support/plugin/woocommerce/reviews/#new-post)
 *  [Megunticook](https://wordpress.org/support/users/megunticook/)
 * (@megunticook)
 * [10 months ago](https://wordpress.org/support/topic/place-order-debug/#post-18597473)
 * If I implement the PHP function you offered above, will that disable ALL WooCommerce
   debugging and logging?
 * I just want to disable the place-order-debug log entries. Every time a customer
   places an order this is logged, even if there are no issues, which makes for 
   a bloated log file. But I still want Woo to log errors or warnings so I can quickly
   spot issues and resolve them.
    -  This reply was modified 10 months ago by [Megunticook](https://wordpress.org/support/users/megunticook/).
 *  [Moses M. (woo-hc)](https://wordpress.org/support/users/mosesmedh/)
 * (@mosesmedh)
 * [10 months ago](https://wordpress.org/support/topic/place-order-debug/#post-18597967)
 * Hi [@megunticook](https://wordpress.org/support/users/megunticook/),
 * Thank you for reaching out. The code you shared will disable both WooCommerce
   and WordPress logging. If you only want to disable the place-order-debug log 
   entries, you’ll need to use some custom code. Here are a few options you can 
   try:
 * **1. Filter only place-order-debug entries**
 * This ensures these logs always return false and are never recorded:
 *     ```wp-block-code
       add_filter('woocommerce_logger_log_message', function($message, $level, $context) {
           // Block place-order-debug logs but allow everything else
           if (isset($context['source']) && $context['source'] === 'wc-place-order-debug') {
               return false;
           }
           return $message;
       }, 10, 3);
       ```
   
 * **2. Set the minimum log level to warnings and above**
 * This will only log warnings, errors, and critical issues:
 *     ```wp-block-code
       add_filter('woocommerce_logger_minimum_level', function($level) {
           return 'warning';
       });
       ```
   
 * **3. Remove the specific logging actions**
 *     ```wp-block-code
       add_action('init', function() {
           remove_action('woocommerce_checkout_order_processed', 'wc_maybe_log_order_placement', 10);
       });
       ```
   
 * Note: You only need to use one of these options. The second option is generally
   the safest, as it still allows important errors to be logged if they occur.
 * Please note that if the codes doesn’t work for you, you may need to create a 
   new topic so we can address your concerns more effectively as cross posting to
   existing topics is against the forum guideline.

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

The topic ‘place-order-debug’ 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/)

 * 5 replies
 * 3 participants
 * Last reply from: [Moses M. (woo-hc)](https://wordpress.org/support/users/mosesmedh/)
 * Last activity: [10 months ago](https://wordpress.org/support/topic/place-order-debug/#post-18597967)
 * Status: resolved