Title: Errors when WP_debug is enabled
Last modified: February 29, 2024

---

# Errors when WP_debug is enabled

 *  Resolved [ventio](https://wordpress.org/support/users/ventio/)
 * (@ventio)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/errors-when-wp_debug-is-enabled-3/)
 * Thank you for the great plugin, but I’m having a small issue with it. I noticed
   that when I enable WP_debug on my site, I encounter these errors:
 *     ```wp-block-code
       PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/pods/classes/Pods.php on line 674
       ```
   
 * What could be the cause of these errors? How can they be fixed?

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

 *  Plugin Author [Scott Kingsley Clark](https://wordpress.org/support/users/sc0ttkclark/)
 * (@sc0ttkclark)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/errors-when-wp_debug-is-enabled-3/#post-17464631)
 * Thanks for the report, I’ll get that sorted in the very next release we’re working
   on.
 *  Plugin Author [Scott Kingsley Clark](https://wordpress.org/support/users/sc0ttkclark/)
 * (@sc0ttkclark)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/errors-when-wp_debug-is-enabled-3/#post-17464639)
 * That’s now in Pods 3.1.5 which is still in development but you can see the fix
   here: [https://github.com/pods-framework/pods/pull/7268](https://github.com/pods-framework/pods/pull/7268)
 *  Thread Starter [ventio](https://wordpress.org/support/users/ventio/)
 * (@ventio)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/errors-when-wp_debug-is-enabled-3/#post-17465877)
 * Thank you 🙂

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

The topic ‘Errors when WP_debug is enabled’ is closed to new replies.

 * ![](https://ps.w.org/pods/assets/icon.svg?rev=3286397)
 * [Pods - Custom Content Types and Fields](https://wordpress.org/plugins/pods/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pods/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pods/)
 * [Active Topics](https://wordpress.org/support/plugin/pods/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pods/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pods/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [ventio](https://wordpress.org/support/users/ventio/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/errors-when-wp_debug-is-enabled-3/#post-17465877)
 * Status: resolved