Title: Deprecated: strpos():
Last modified: April 4, 2019

---

# Deprecated: strpos():

 *  Resolved [benmcd0nald](https://wordpress.org/support/users/benmcd0nald/)
 * (@benmcd0nald)
 * [7 years ago](https://wordpress.org/support/topic/deprecated-strpos/)
 * Hey,
 * Not really sure what the issue is here but I’ve noticed with my debug on that
   the following error/warning is displayed:
 * Deprecated: strpos(): Non-string needles will be interpreted as strings in the
   future. Use an explicit chr() call to preserve the current behavior in /home/
   munkeyke/public_html/wp-content/plugins/sg-cachepress/core/Minifier/Minifier.
   php on line 137
 * I imagine you’ll know what that means?
 * Thanks
    Ben

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

 *  Plugin Author [Stanimir Stoyanov](https://wordpress.org/support/users/sstoqnov/)
 * (@sstoqnov)
 * SiteGround Representative
 * [7 years ago](https://wordpress.org/support/topic/deprecated-strpos/#post-11391393)
 * Hey [@benmcd0nald](https://wordpress.org/support/users/benmcd0nald/)
 * Thank you for reporting this.
 * We’ve patched version 5.1.2. You can uninstall, delete and install the plugin
   to get the latest version.
 * Regards,
    Stanimir
 *  Thread Starter [benmcd0nald](https://wordpress.org/support/users/benmcd0nald/)
 * (@benmcd0nald)
 * [7 years ago](https://wordpress.org/support/topic/deprecated-strpos/#post-11400490)
 * Hey,
 * I actually saw the error and the update at pretty much the same time. Previously
   I was getting three instances of it and after applying the update I still got
   two.
 * I’m not seeming to get it at all now….or at least I can’t find the page where
   it was being displayed but I’ll keep an eye out and if it comes back I’ll jump
   back on the thread
 * Thanks 🙂
    Ben

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

The topic ‘Deprecated: strpos():’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [benmcd0nald](https://wordpress.org/support/users/benmcd0nald/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/deprecated-strpos/#post-11400490)
 * Status: resolved