• Resolved Oliver Campion

    (@domainsupport)


    Hi,

    We’re getting several of these in debug.log …

    [03-Feb-2024 17:33:35 UTC] E_COMPILE_WARNING: Unterminated comment starting line 1017 in /wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/rules.php on line 999

    Please advise.

    Oliver

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @domainsupport, thanks for detailing the log messages.

    The code on line 999 in rules.php is part of scanning uploaded files to see if they are valid PHP, and if they need to be blocked (if not uploaded by an admin).

    We do expect compiler errors sometimes so are happy to hide these by using the @ operator when they occur, but custom error handlers can still see and report them. I expect you or your host may have a custom error handler that’s keeping these visible in your logs as they generally won’t show up for most customers.

    Thanks,
    Peter.

    Thread Starter Oliver Campion

    (@domainsupport)

    We enable and monitor debug.log in /wp-content/ closely on this particular site using WP_DEBUG_LOG in wp-config.php so we know when issues occur. If this can be ignored then we will make a note to do so in future.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unterminated comment in rules.php’ is closed to new replies.