Title: WP_DEBUG Error Messages
Last modified: May 30, 2023

---

# WP_DEBUG Error Messages

 *  Resolved [jordo](https://wordpress.org/support/users/jordo/)
 * (@jordo)
 * [3 years ago](https://wordpress.org/support/topic/wp_debug-error-messages/)
 * I’m working on a staging site with the User Menus plugin activated and WP_DEBUG
   turned on and am receiving the following error message. I’ve tried deactivating
   all other plugins but I only get the message when the User Menus plugin is activated.
   I was having some updating/publishing issues which is why I turned on debug mode.
   Not sure if this had anything to do with it but wanted to post and see if others
   have seen this error message and whether it is cause for concern or not. Thanks!
 * Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string
   is deprecated in /wordpress/wp-includes/functions.php on line 7053 Deprecated:
   str_replace(): Passing null to parameter #3 ($subject) of type array|string is
   deprecated in /wordpress/wp-includes/functions.php on line 2165 Deprecated: strpos():
   Passing null to parameter #1 ($haystack) of type string is deprecated in /wordpress/
   wp-includes/functions.php on line 7053 Deprecated: str_replace(): Passing null
   to parameter #3 ($subject) of type array|string is deprecated in /wordpress/wp-
   includes/functions.php on line 2165 Deprecated: strpos(): Passing null to parameter#
   1 ($haystack) of type string is deprecated in /wordpress/wp-includes/functions.
   php on line 7053 Deprecated: str_replace(): Passing null to parameter #3 ($subject)
   of type array|string is deprecated in /wordpress/wp-includes/functions.php on
   line 2165 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type
   string is deprecated in /wordpress/wp-includes/functions.php on line 7053 Deprecated:
   str_replace(): Passing null to parameter #3 ($subject) of type array|string is
   deprecated in /wordpress/wp-includes/functions.php on line 2165

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

 *  Plugin Support [Kim L](https://wordpress.org/support/users/kimmyx/)
 * (@kimmyx)
 * [3 years ago](https://wordpress.org/support/topic/wp_debug-error-messages/#post-16781444)
 * Hi [@jordo](https://wordpress.org/support/users/jordo/),
 * Do you also see the warnings with a default theme installed?
 * Just a note, User Menus currently don’t work with block themes.
 * We’ll wait for your response!
 *  Plugin Support [Kim L](https://wordpress.org/support/users/kimmyx/)
 * (@kimmyx)
 * [3 years ago](https://wordpress.org/support/topic/wp_debug-error-messages/#post-16805270)
 * Hi there,
 * I’m going to mark this as resolved as we haven’t heard from you in a while.
 * Feel free to create a new thread if you have other questions.
 * Thanks!

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

The topic ‘WP_DEBUG Error Messages’ is closed to new replies.

 * ![](https://ps.w.org/user-menus/assets/icon-256x256.png?rev=1507838)
 * [User Menus - Nav Menu Visibility](https://wordpress.org/plugins/user-menus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-menus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-menus/)
 * [Active Topics](https://wordpress.org/support/plugin/user-menus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-menus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-menus/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Kim L](https://wordpress.org/support/users/kimmyx/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/wp_debug-error-messages/#post-16805270)
 * Status: resolved