• Resolved atalarico

    (@atalarico)


    This warning message is displayed on the website header since updating the plugin:

    Warning: strpos(): Empty needle in /home/…/wp-content/plugins/wordpress-seo/admin/class-database-proxy.php on line 44

    Can you help me?

    Thank you!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support devnihil

    (@devnihil)

    This error may be caused a plugin or theme conflict. Can you try and gather as much information for us as possible? Please perform the following:

    1. Make sure the issue doesn’t persist when Yoast SEO is disabled.
    2. Check for conflicts.
    3. Check for JavaScript errors with your console.

    If you find any JavaScript errors related to Yoast SEO or if there is a conflict with a plugin or a theme, you can create a new GitHub issue for our developers. Please report the issue to a third party developer as well.

    If you didn’t find any conflicts or errors, we think the issue is specific to your site. We’d need to investigate further but are unable to do so on these forums. You can purchase Yoast SEO Premium and receive our Premium email support and we can help you further.

    Thread Starter atalarico

    (@atalarico)

    Thanks for your feedback.

    I checked for conflicts and JavaScript errors, all sounds good.
    When Yoast SEO is disabled, the issue doesn’t persist.

    There is a difference between the 7.3 version code and 7.4, that is the line 44, indeed. With the 7.3 version we didn’t have any issue.

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    We apologize for any inconvenience. A bug report is currently open in our development repository for this issue. You can find and follow the progress of the report here. We recommend you please provide as much information as you can provide in the opened GitHub issue so our developers can fix it faster.

    I also encountered a similar situation:

    PHP Warning: strpos(): Empty needle in /home/username/public_html/wp-content/plugins/wordpress-seo-premium/admin/class-database-proxy.php on line 44

    My database does not have a table prefix.

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    Thanks for reporting this issue @kaiderella. We recommend you please inform this to our developer by submitting more information on the GitHub issue.

    Lisa C

    (@lisathirdsideco)

    Just popping in to say that I applied the code change from GitHub and it fixed my problem! Will there eventually be a plugin update that incorporates this change?

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    The fix is planned to be released in the next Yoast SEO version.

    Hi,

    I have the same problems again after update Yoast SEO today. WP 4.9.5, Yoast V 7.5.1

    Warning: strpos(): Empty needle in /www/htdocs/w016e50d/kunden/reneeheetfeld/wp-content/plugins/wordpress-seo/admin/class-database-proxy.php on line 44

    Warning: strpos(): Empty needle in /www/htdocs/w016e50d/kunden/reneeheetfeld/wp-content/plugins/wordpress-seo/admin/class-database-proxy.php on line 44

    Warning: strpos(): Empty needle in /www/htdocs/w016e50d/kunden/reneeheetfeld/wp-content/plugins/wordpress-seo/admin/class-database-proxy.php on line 44

    What can I do?

    Thanks and greetings, Renée

    Replace (or copy the content) of file /wp-content/plugins/wordpress-seo/admin/class-database-proxy.php to that: https://gist.github.com/TiagoGouvea/1938dcb48e650b3d7602d23ae65f6ccf

    It will fix the error.

    Lisa C

    (@lisathirdsideco)

    Sure, until the next update overwrites it. I’d rather have a proper fix.

    Thanks so much ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Warning in header after updating’ is closed to new replies.