• Resolved SR20DETg20girl

    (@sr20detg20girl)


    We’re getting a TON of PHP Warnings in the error log from this plugin. It is mostly:

    [18-Nov-2024 02:35:40 UTC] PHP Warning: http_response_code(): Cannot set response code – headers already sent in /home/REDACTED/public_html/wp-content/plugins/stopbadbots/functions/functions.php on line 4593

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author sminozzi

    (@sminozzi)

    Hi,

    This is line 4593:
    http_response_code(403);

    This line will deny access to your site.
    It is likely that your current visitor is a hacker or bot and needs to be blocked. However, another plugin or theme has sent the header prematurely.

    Please take a look at this page for guidance on identifying conflicts or determining who is sending headers prematurely.
    https://siterightaway.net/test-for-conflicts/

    Regards,
    Bill

    Plugin Author sminozzi

    (@sminozzi)

    I forgot to mention: Don’t use more than one anti-bot plugin at the same time, as they can interfere with each other.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Warnings from Plugin in Error Log’ is closed to new replies.