Title: PHP deprecated error
Last modified: March 16, 2024

---

# PHP deprecated error

 *  Resolved [moviesteve](https://wordpress.org/support/users/moviesteve/)
 * (@moviesteve)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-deprecated-error-15/)
 * Hi there,
 * I’m getting this error a lot – between two and ten times a minute, or so the 
   logs say. Not sure how much harm it’s doing but I saw mention of a similar (same
   error, different line) PHP deprecated fix coming in 3.1.5 and wondered if this
   would be included.
 * Thanks and keep up the good work.
 * PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string
   is deprecated in /wp-content/plugins/pods/includes/data.php on line 299
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-deprecated-error-15%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [pdclark](https://wordpress.org/support/users/pdclark/)
 * (@pdclark)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-deprecated-error-15/#post-17505280)
 * Deprecated means it will stop working in PHP version 9. There is no release date
   for PHP 9 yet. It is far in the future. See [https://stackoverflow.com/a/5651783](https://stackoverflow.com/a/5651783)
   for how to turn off logging of deprecation warnings.
 *  Plugin Author [Scott Kingsley Clark](https://wordpress.org/support/users/sc0ttkclark/)
 * (@sc0ttkclark)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-deprecated-error-15/#post-17505445)
 * I’ll confirm this weekend that this fix is included, but I have a similar if 
   not the same fix already in 3.1.5
 *  Thread Starter [moviesteve](https://wordpress.org/support/users/moviesteve/)
 * (@moviesteve)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-deprecated-error-15/#post-17505715)
 * Thank you both Paul and Scott!

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

The topic ‘PHP deprecated error’ 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
 * 3 participants
 * Last reply from: [moviesteve](https://wordpress.org/support/users/moviesteve/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/php-deprecated-error-15/#post-17505715)
 * Status: resolved