Title: PHP Warning message
Last modified: February 14, 2025

---

# PHP Warning message

 *  Resolved [locker17](https://wordpress.org/support/users/locker17/)
 * (@locker17)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/php-warning-message-13/)
 * I am getting these warnings:
   strpos(): Passing null to parameter #1 ($haystack)
   of type string is deprecated
    1. wp-includes/functions.php:7329
 * Deprecated str_replace(): Passing null to parameter #3 ($subject) of type array
   |string is deprecated wp-includes/functions.php:2189
 * Query monitor says the source of this is wpforms. I am using PHP version 8.2.27

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

 *  Plugin Support [Amjad Ali](https://wordpress.org/support/users/amjadali688/)
 * (@amjadali688)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/php-warning-message-13/#post-18311943)
 * Hi [@locker17](https://wordpress.org/support/users/locker17/) ,
   Thank you for
   reaching out!I’ve reviewed the error log and I’d recommend enabling debug logging
   to capture more details about when these warnings appear. You can do this by 
   adding the following to your wp-config.php file:`define( 'WP_DEBUG', true );define('
   WP_DEBUG_LOG', true );define( 'WP_DEBUG_DISPLAY', false );@ini_set( 'log_errors',
   1 );@ini_set( 'display_errors', 0 );This will log warnings in a file located 
   at /wp-content/debug.log, which might provide more context.Could you also share
   the complete stack trace from the debug log? That would help us check if the 
   issue is related to WPForms.Thanks!
 *  Plugin Support [Amjad Ali](https://wordpress.org/support/users/amjadali688/)
 * (@amjadali688)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/php-warning-message-13/#post-18319336)
 * Hi [@locker17](https://wordpress.org/support/users/locker17/) ,
 * We haven’t heard back from you in a few days, so I’m going to go ahead and close
   this thread for now. But if you’d like us to assist further, please feel welcome
   to continue the conversation.
 * Thanks!

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

The topic ‘PHP Warning message’ is closed to new replies.

 * ![](https://ps.w.org/wpforms-lite/assets/icon.svg?rev=3254748)
 * [WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More](https://wordpress.org/plugins/wpforms-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpforms-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpforms-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpforms-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpforms-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpforms-lite/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Amjad Ali](https://wordpress.org/support/users/amjadali688/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/php-warning-message-13/#post-18319336)
 * Status: resolved