Title: PHP Warnings
Last modified: September 24, 2023

---

# PHP Warnings

 *  Resolved [Chris](https://wordpress.org/support/users/lamordnt/)
 * (@lamordnt)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-170/)
 * I am getting two php warnings with your plugin: strpos(): Passing null to parameter#
   1 ($haystack) of type string is deprecated
 * and: str_replace(): Passing null to parameter #3 ($subject) of type array|string
   is deprecated
 * Can you fix these? Thanks!

Viewing 1 replies (of 1 total)

 *  Plugin Author [KeystrokeClick](https://wordpress.org/support/users/keystrokeclick/)
 * (@keystrokeclick)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-warnings-170/#post-17221856)
 * Hi [@lamordnt](https://wordpress.org/support/users/lamordnt/)!
 * Thank you for sharing this with us. After further investigating this (without
   any environment details), this has been addressed/updated.
 * This fix has been applied to, and compatibility-checked against, the latest WordPress
   core version (4.1.1 as of today) and released last week.
 * Greatly appreciate you continuing to use Protect Admin!
 * Keystroke Click Team
    -  This reply was modified 2 years, 7 months ago by [KeystrokeClick](https://wordpress.org/support/users/keystrokeclick/).
      Reason: Added a paragraph break for easier reading

Viewing 1 replies (of 1 total)

The topic ‘PHP Warnings’ is closed to new replies.

 * ![](https://ps.w.org/protect-admin-account/assets/icon-256x256.png?rev=2705477)
 * [Protect Admin](https://wordpress.org/plugins/protect-admin-account/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/protect-admin-account/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/protect-admin-account/)
 * [Active Topics](https://wordpress.org/support/plugin/protect-admin-account/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/protect-admin-account/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/protect-admin-account/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [KeystrokeClick](https://wordpress.org/support/users/keystrokeclick/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/php-warnings-170/#post-17221856)
 * Status: resolved