PHP Warning: fileperms(): stat failed for .htaccess

Home Forums BulletProof Security Pro PHP Warning: fileperms(): stat failed for .htaccess

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #41759
    protection
    Participant

    Hello –

    I’m using PHP version 7.4, WordPress 5.9.3 and BPS Pro 16.5. Whenever I access the File|Folder Lock page in BPS Pro, I get the following PHP warnings:

    PHP Warning: fileperms(): stat failed for /home/xxxxxxxxxx/.htaccess in /home/xxxxxxxxxx/public_html/wp-content/plugins/bulletproof-security/admin/lock/flock.php on line 330
    PHP Warning: fileperms(): stat failed for /home/xxxxxxxxxx/index.php in /home/xxxxxxxxxx/public_html/wp-content/plugins/bulletproof-security/admin/lock/flock.php on line 359

    This seems similar to this issue reported many years ago.

    Thanks

    #41760
    AITpro Admin
    Keymaster

    The File Lock feature is obsolete.  Do the steps below to unlock files and to turn it off.

    Set the File Lock Override option to > File Lock Override On.
    Click the Save Override Option button.
    Change all file options to > CGI|Unlock {filename}
    Click the Save Options button.
    Change all file options to > Checking & Alerts Off.
    Click the Save Options button.
    Set the File Lock Override option to > File Lock Override Off.
    Click the Save Override Option button.

    #41763
    protection
    Participant

    OK, thank you! Will this be removed from BPS Pro?

    #41764
    AITpro Admin
    Keymaster

    Yes, both File Lock and Folder Lock are pending removal.

    #41765
    protection
    Participant

    Got it. Thanks again.

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