Before you ask please READ THIS

Having problem with Warning: stripos() [ function.stripos

jfpjfp
edited January 2013 in Hypershot Posts: 3
Getting this problems under filer and other places.



Warning: stripos() [
function.stripos
]: needle is not a string or an integer in /home/j/jfp/www/wp-includes/functions.php on line 658

Warning: stripos() [
function.stripos
]: needle is not a string or an integer in /home/j/jfp/www/wp-includes/functions.php on line 661


Warning: stripos() [function.stripos]: needle is not a string or an integer in /home/j/jfp/www/wp-includes/functions.php on line 658

Warning: stripos() [function.stripos]: needle is not a string or an integer in /home/j/jfp/www/wp-includes/functions.php on line 661

You can see screenshots here
http://www.jfp.se/?album=bugg&preview=true&preview_id=3616&preview_nonce=b665d6ffde

Comments

  • jfpjfp
    Posts: 3
    Here is line from 658 to 661

    if ( 0 === stripos( 'http://', $uri ) ) {
    $protocol = 'http://';
    $uri = substr( $uri, 7 );
    } elseif ( 0 === stripos( 'https://', $uri ) ) {
  • AirAir
    Posts: 10,970
    Hello.

    Thanks for so much info, but it looks like some Wordpress or server issue. However lets try to fix it:-)
    Do you have any plugins activated?
    What version of PHP you have got?
    Have this warning been visible from start?
    Do you have any Genres in Albums?

    With regards.
  • jfpjfp
    Posts: 3
    1 I have only
    Akismet not activated Version 2.5.7
    WordPress Importer activated

    2 Dont know about the PHP. How do i see that?

    3 Yes the warning have been there from the start.

    4 yes i have Genres. Sampel Genres and my own. like 5- 8 genres.
  • AirAir
    Posts: 10,970
    Thanks for info here and on private message. I have changed permalinks of your site to something other then default value and message has disappeared. I will investigate why is this happening, thanks for reporting!

    With regards.
  • Awesome theme! I've been having this problem as well with those same lines, could you help?
  • Well now it all works perfectly, not really sure why but if it works I guess we won't touch it!
  • AirAir
    Posts: 10,970
    :-) Great I know that setting permalinks fix it, but also other wordpress actions might do it.

    With regards.
  • I~m experiencing the same problem and can~t fix it!
  • AirAir
    Posts: 10,970
    Go to Settings-> Permalinks and set some other then default value.

    With regards.
Sign In or Register to comment.