• Hello. I am getting these errors which are give below in the error log on 16th May 2019.

    [16-May-2019 22:33:45 UTC] PHP Warning: strpos(): Empty needle in /home4/s8l6zzck/opportunitiescorners.info/wp-includes/plugin.php on line 674

    [16-May-2019 22:33:45 UTC] PHP Warning: strpos(): Empty needle in /home4/s8l6zzck/opportunitiescorners.info/wp-includes/plugin.php on line 674

    [16-May-2019 22:33:45 UTC] PHP Warning: strpos(): Empty needle in /home4/s8l6zzck/opportunitiescorners.info/wp-includes/plugin.php on line 674

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Good morning!

    This link may help to explain the situation.

    https://stackoverflow.com/questions/26325407/warning-strpos-empty-needle-in-wordpress-plugin

    A bunch of PHP search functions use the terms “needle” and “haystack” as their parameter names, indicating what is sought and where to seek it.

    The strpos function is such a function. “Empty needle” means that you have passed in a null or empty value as the needle to look for. This is like saying “search for nothing” which doesn’t make sense to the function.

    The warning should go away if you set WP_DEBUG to false in wp_config.php.

    Kyle

    Thread Starter saimrasheed

    (@saimrasheed)

    do i need to worry about this. i mean is this a sensitive case? will this brake something or not?

    I would not worry about this if I were in your shoes. I don’t believe this error will impact your site’s performance, stability, or security.

    Kyle

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘errors in the error log’ is closed to new replies.