Errors in Defender, error.log file reported as being a problem

Hi,
Question rather than a problem, when Defender scan all of my sites it returns errors in all, they are all the same, it finds error.log files in the main folder and subfolders and reports them as a problem that needs fixed, if I delete them WordPress seems to just remake them, can you explain or am I doing something wrong?

  • Predrag Dubajic
    • Support

    Hey Conor,

    Hope you're doing well today :slight_smile:

    Error log file is probably catching your PHP errors, if you remove the file but the error is still there then the file will be recraeted.
    You could check what the errors are and try fixing them, if there are no errors the file will not be recreated, or you can check with your host to disable error reporting for your sites.

    Best regards,
    Predrag

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.