Title: TypeError &#8211; strpos
Last modified: June 24, 2024

---

# TypeError – strpos

 *  Resolved [wpsiteqa](https://wordpress.org/support/users/wpsiteqa/)
 * (@wpsiteqa)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/typeerror-strpos/)
 * On updating **WPS Hide Login 1.9.16 => 1.9.16.4** an issue is reported in NewRelic:
   
   Uncaught exception ‘TypeError’ with message ‘strpos(): Argument #1 ($haystack)
   must be of type string, WP_Error given’ in wp-content/plugins/wps-hide-login/
   classes/plugin.php:638
    -  This topic was modified 1 year, 11 months ago by [wpsiteqa](https://wordpress.org/support/users/wpsiteqa/).

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

 *  Plugin Author [NicolasKulka](https://wordpress.org/support/users/nicolaskulka/)
 * (@nicolaskulka)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/typeerror-strpos/#post-17847404)
 * What plugins/themes do you have?
 *  Thread Starter [wpsiteqa](https://wordpress.org/support/users/wpsiteqa/)
 * (@wpsiteqa)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/typeerror-strpos/#post-17849406)
 * We’re using a fair number of plugins as well as a custom theme. Most likely the
   params passed to the strpos() are not strings, and that’s why it’s throwing an
   error. I did update from **1.9.16.4 => 1.9.16.6** today however the TypeError
   still appears in NewRelic error logging.
 *  Plugin Support [MaximeWPS](https://wordpress.org/support/users/seinomedia/)
 * (@seinomedia)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/typeerror-strpos/#post-17863712)
 * Hello,
 * Have you tried to switch to another theme to ensure there wasn’t any conflict
   with yours ?

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

The topic ‘TypeError – strpos’ is closed to new replies.

 * ![](https://ps.w.org/wps-hide-login/assets/icon-256x256.png?rev=1820667)
 * [WPS Hide Login](https://wordpress.org/plugins/wps-hide-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wps-hide-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wps-hide-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wps-hide-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wps-hide-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wps-hide-login/reviews/)

## Tags

 * [strpos](https://wordpress.org/support/topic-tag/strpos/)
 * [typeerror](https://wordpress.org/support/topic-tag/typeerror/)

 * 3 replies
 * 3 participants
 * Last reply from: [MaximeWPS](https://wordpress.org/support/users/seinomedia/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/typeerror-strpos/#post-17863712)
 * Status: resolved