Title: `var_dump`
Last modified: September 16, 2026

---

# `var_dump`

 *  [pedrofsergio](https://wordpress.org/support/users/pedrofsergio/)
 * (@pedrofsergio)
 * [2 weeks, 1 day ago](https://wordpress.org/support/topic/var_dump/)
 * I checked my log erros, and i see a lot of `var_dump` left in production. 6,708
   occurrences of `string(15) "not tutor order"`.
   Is normal? How can i fix it?

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

 *  [Maizul](https://wordpress.org/support/users/maizul/)
 * (@maizul)
 * [2 weeks, 1 day ago](https://wordpress.org/support/topic/var_dump/#post-19021927)
 * Hey [@pedrofsergio](https://wordpress.org/support/users/pedrofsergio/) ,
 * Thank you for reaching out. The `var_dump` entries you’re seeing are not error
   logs. The `not tutor order` message is logged when the order being processed 
   is not a Tutor LMS order, and this is part of the plugin’s normal workflow for
   checking and handling order-related events.
 * You do not need to remove these entries.
 *  Thread Starter [pedrofsergio](https://wordpress.org/support/users/pedrofsergio/)
 * (@pedrofsergio)
 * [2 weeks ago](https://wordpress.org/support/topic/var_dump/#post-19022037)
 * I understand that the logic is correct and it isn’t an error. My point concerns
   the instruction used: `var_dump()` is a debugging function that writes to standard
   output, not a logging method. On my server, it generates 29 lines a day in the
   PHP error log—the same file I use to diagnose actual infrastructure issues. Furthermore,
   if that line executes during an AJAX or REST request, the output gets injected
   before the JSON, potentially corrupting the response. Do you think it could be
   removed or replaced with a log entry conditional on `WP_DEBUG` in a future version?
 *  [Maizul](https://wordpress.org/support/users/maizul/)
 * (@maizul)
 * [1 week, 5 days ago](https://wordpress.org/support/topic/var_dump/#post-19024142)
 * Hey [@pedrofsergio](https://wordpress.org/support/users/pedrofsergio/) ,
 * Thank you for the additional details. Although this should not normally happen,
   could you please share the relevant log with us so we can verify the entries 
   from our end?
 *  Thread Starter [pedrofsergio](https://wordpress.org/support/users/pedrofsergio/)
 * (@pedrofsergio)
 * [1 week, 3 days ago](https://wordpress.org/support/topic/var_dump/#post-19025637)
 *     ```wp-block-code
       [16-Sep-2026 11:30:40 UTC] string(15) "not tutor order"[16-Sep-2026 11:31:35 UTC] string(15) "not tutor order"[16-Sep-2026 11:31:51 UTC] string(15) "not tutor order"[16-Sep-2026 11:32:32 UTC] string(15) "not tutor order"[16-Sep-2026 11:50:48 UTC] string(15) "not tutor order"[16-Sep-2026 11:52:39 UTC] string(15) "not tutor order"[16-Sep-2026 12:27:49 UTC] string(15) "not tutor order"[16-Sep-2026 12:40:33 UTC] string(15) "not tutor order"[16-Sep-2026 12:42:36 UTC] string(15) "not tutor order"
       ```
   
 * Simples this, buts have a lot of on my log file.
 *  [Maizul](https://wordpress.org/support/users/maizul/)
 * (@maizul)
 * [4 days ago](https://wordpress.org/support/topic/var_dump/#post-19030634)
 * Hey [@pedrofsergio](https://wordpress.org/support/users/pedrofsergio/) ,
 * Thank you for sharing the details and the log entries. We’ll share this with 
   our team for further review and investigation.
 * Thank you for your cooperation.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fvar_dump%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/tutor/assets/icon-256x256.jpg?rev=3598934)
 * [Tutor LMS - eLearning and online course solution](https://wordpress.org/plugins/tutor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tutor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tutor/)
 * [Active Topics](https://wordpress.org/support/plugin/tutor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tutor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tutor/reviews/)

## Tags

 * [var_dump](https://wordpress.org/support/topic-tag/var_dump/)

 * 5 replies
 * 2 participants
 * Last reply from: [Maizul](https://wordpress.org/support/users/maizul/)
 * Last activity: [4 days ago](https://wordpress.org/support/topic/var_dump/#post-19030634)
 * Status: not resolved