Title: PHP Error: Warning: stripos() expects parameter 1 to be string, array
Last modified: August 21, 2016

---

# PHP Error: Warning: stripos() expects parameter 1 to be string, array

 *  Resolved [troy7890](https://wordpress.org/support/users/troy7890/)
 * (@troy7890)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/)
 * Hello, over the last week or two, I’ve had this php error display on the top 
   of the website. [http://www.stevecshank.com](http://www.stevecshank.com) If I
   go into the slimsat settings and disable tracking, the error goes away. I’ve 
   attempted uninstalling and re-installing plug-in with no improvement. Please 
   advise, thanks.
 * `Warning: stripos() expects parameter 1 to be string, array given in /home2/troy/
   public_html/clients/stevecshank.com/wp-content/plugins/wp-slimstat/wp-slimstat.
   php on line 269`
 * [http://wordpress.org/plugins/wp-slimstat/](http://wordpress.org/plugins/wp-slimstat/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/page/2/?output_format=md)

 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/#post-4133758)
 * We are looking into the issue, thank you.
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/#post-4133785)
 * Fixed in 3.3.4. Stay tuned and please don’t forget to vote!
 * [http://wordpress.org/support/view/plugin-reviews/wp-slimstat](http://wordpress.org/support/view/plugin-reviews/wp-slimstat)
 *  Thread Starter [troy7890](https://wordpress.org/support/users/troy7890/)
 * (@troy7890)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/#post-4133938)
 * Great, where can I get 3.3.4 from? thanks.
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/#post-4133939)
 * We are planning to release it tonight (US Eastern Time).
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/#post-4133941)
 * Version 3.3.4 has been released, please let us know if it solves your issue.
 *  Thread Starter [troy7890](https://wordpress.org/support/users/troy7890/)
 * (@troy7890)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/#post-4133943)
 * Thank you camu for working on this issue. Unfortunately the update has not fixed
   the error message for me. I have the tracking enabled right now so you can see
   it – [http://www.stevecshank.com/](http://www.stevecshank.com/)
 * `Warning: stripos() expects parameter 1 to be string, array given in /home2/troy/
   public_html/clients/stevecshank.com/wp-content/plugins/wp-slimstat/wp-slimstat.
   php on line 349`
 * Anything else we can try?
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/#post-4133946)
 * Go to SlimStat > Settings and save (no need to change anything) all your options,
   tab by tab.
 *  Thread Starter [troy7890](https://wordpress.org/support/users/troy7890/)
 * (@troy7890)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/#post-4133947)
 * Thank you, that worked. Much appreciated!
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/#post-4133948)
 * A vote for SlimStat would be a nice way to say thank you
 * [http://wordpress.org/support/view/plugin-reviews/wp-slimstat](http://wordpress.org/support/view/plugin-reviews/wp-slimstat)
 *  [dmodegirl](https://wordpress.org/support/users/dmodegirl/)
 * (@dmodegirl)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/#post-4133983)
 * Where can I download this plugin Camu? It’s not listed in the plugin directory.
   It was highly recommended by one of my tech friends.
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/#post-4133984)
 * We’re experiencing some difficulties with the repository. We hope to be back 
   soon. Sorry for the inconvenience.
 * Camu
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/#post-4133985)
 * The glitch has been resolved. You can now download SlimStat again. Thank you.
 *  [brpubs3](https://wordpress.org/support/users/brpubs3/)
 * (@brpubs3)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/#post-4134015)
 * Hi —
 * Urrgh. Never mind — the question below is resolved. I just saw the new options
   I needed to fill out in settings.
 * —————-
 * I just upgraded both WordPress and SlimStat and am now getting the error messages
   copied below. I tried resaving options on all tabs and I also tried deactivating
   and reactivating the plugin, but neither helped. Any suggestions on what to try
   next?
 * Thanks —
 * Warning: strpos() expects parameter 1 to be string, array given in /home/ansirh/
   www/blog/wp-content/plugins/wp-slimstat/admin/wp-slimstat-admin.php on line 403
 * Warning: strpos() expects parameter 1 to be string, array given in /home/ansirh/
   www/blog/wp-content/plugins/wp-slimstat/admin/wp-slimstat-admin.php on line 459
 * Warning: strpos() expects parameter 1 to be string, array given in /home/ansirh/
   www/blog/wp-content/plugins/wp-slimstat/wp-slimstat.php on line 1126
 * Warning: strpos() expects parameter 1 to be string, array given in /home/ansirh/
   www/blog/wp-content/plugins/wp-slimstat/wp-slimstat.php on line 1146
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/#post-4134016)
 * A review for SlimStat would be a nice way to say thank you!
 *  [annonces199](https://wordpress.org/support/users/annonces199/)
 * (@annonces199)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/#post-4134018)
 * Hello Camu..
 * I´m new with the SlimStat pluggin…
 * I installed the 3 pluggins availables in WordPress
 * everything works great,
 * How ever I need to display the total visitors and the Visitor today in the each
   post.
 * I put this code in the “single.php”
 * <p>
    Total Visitors: <!–slimstat:count_all_visitors–> <p> Visitors Today: <!–
   slimstat:count_new_visitors–>
 * nothing happens… nothing displays…
 * I put also the same code in a widget in the sidebar and same results..
 * what i´m doind wrong…? any comments…?
 * Thanks in advance..
 * BEst Regards

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/page/2/?output_format=md)

The topic ‘PHP Error: Warning: stripos() expects parameter 1 to be string, array’
is closed to new replies.

 * ![](https://ps.w.org/wp-slimstat/assets/icon.svg?rev=2832242)
 * [SlimStat Analytics](https://wordpress.org/plugins/wp-slimstat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-slimstat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-slimstat/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-slimstat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-slimstat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-slimstat/reviews/)

 * 16 replies
 * 5 participants
 * Last reply from: [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/php-error-warning-stripos-expects-parameter-1-to-be-string-array/page/2/#post-4134019)
 * Status: resolved