WordPress.org

Support

Support » Plugins and Hacks » [Resolved] PHP Error: Warning: stripos() expects parameter 1 to be string, array

[Resolved] PHP Error: Warning: stripos() expects parameter 1 to be string, array

  • troy7890
    Member

    @troy7890

    Hello, over the last week or two, I’ve had this php error display on the top of the website. 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/

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Jason Crouse
    Participant

    @coolmann

    We are looking into the issue, thank you.

    Plugin Author Jason Crouse
    Participant

    @coolmann

    Fixed in 3.3.4. Stay tuned and please don’t forget to vote!

    http://wordpress.org/support/view/plugin-reviews/wp-slimstat

    troy7890
    Member

    @troy7890

    Great, where can I get 3.3.4 from? thanks.

    Plugin Author Jason Crouse
    Participant

    @coolmann

    We are planning to release it tonight (US Eastern Time).

    Plugin Author Jason Crouse
    Participant

    @coolmann

    Version 3.3.4 has been released, please let us know if it solves your issue.

    troy7890
    Member

    @troy7890

    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/

    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 Author Jason Crouse
    Participant

    @coolmann

    Go to SlimStat > Settings and save (no need to change anything) all your options, tab by tab.

    troy7890
    Member

    @troy7890

    Thank you, that worked. Much appreciated!

    Plugin Author Jason Crouse
    Participant

    @coolmann

    A vote for SlimStat would be a nice way to say thank you

    http://wordpress.org/support/view/plugin-reviews/wp-slimstat

    dmodegirl
    Participant

    @dmodegirl

    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 Author Jason Crouse
    Participant

    @coolmann

    We’re experiencing some difficulties with the repository. We hope to be back soon. Sorry for the inconvenience.

    Camu

    Plugin Author Jason Crouse
    Participant

    @coolmann

    The glitch has been resolved. You can now download SlimStat again. Thank you.

    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 Author Jason Crouse
    Participant

    @coolmann

    A review for SlimStat would be a nice way to say thank you!

    annonces199
    Member

    @annonces199

    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)
  • The topic ‘[Resolved] PHP Error: Warning: stripos() expects parameter 1 to be string, array’ is closed to new replies.