wp-includes/blocks/error_log

Home Forums BulletProof Security Pro wp-includes/blocks/error_log

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43338
    pdlc
    Participant

    Hi,

    i use BPS PRO and i don’t understand the Quarantine alert about file “error_log”  in  wp-includes/blocks :

    File: /home/xxxx/public_html/wp-includes/blocks/error_log — Quarantine Time: 2023-12-07 17:57:20

    The file “error_log” contain  :

    [10-Dec-2023 20:05:14 UTC] PHP Fatal error: Uncaught Error: Undefined constant "ABSPATH" in /home/xxxx/public_html/wp-includes/blocks/index.php:8
    Stack trace:
    #0 {main}
    thrown in /home/xxxx/public_html/wp-includes/blocks/index.php on line 8 and the line 8 of  this "index.php" file contain :
    <div> define( 'BLOCKS_PATH', ABSPATH . WPINC . '/blocks/' );

    The setting of the php error log is :

    error_log: /home/xxx/public_html/wp-content/bps-backup/logs/bps_php_error.log
    I need help to understand what the matter.

    Best regards,
    Monica

    #43340
    AITpro Admin
    Keymaster

    Your PHP server created a default php error_log file here > /home/xxxx/public_html/wp-includes/blocks/error_log, which is normal. The php error can be ignored and is not causing an actual problem. Create a single file exclude rule for the default wp-includes error_log file using the form at the top of the Quarantine page.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.