PHP Warning: fileperms(): stat failed for /.htaccess in flock.php on line 330

Home Forums BulletProof Security Pro PHP Warning: fileperms(): stat failed for /.htaccess in flock.php on line 330

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #42972
    Fantou
    Participant

    Hello,

    I’m a new user of your Pro Version Plugin and I have a looot to learn! oO! Fortunatly for beginning there is the “setup wizard” option, thanks for this! 😀

    However, BPS already alerts me about PHP Warning Errors… T-T. Here they are :

    PHP Warning: fileperms(): stat failed for /.htaccess in /wp-content/plugins/bulletproof-security/admin/lock/flock.php on line 330
    PHP Warning: fileperms(): stat failed for /index.php in /wp-content/plugins/bulletproof-security/admin/lock/flock.php on line 359
    PHP Warning: A non-numeric value encountered in /wp-content/plugins/bulletproof-security/admin/db-monitor/db-monitor.php on line 1789
    PHP Warning: A non-numeric value encountered in /wp-content/plugins/bulletproof-security/admin/db-monitor/db-monitor.php on line 1881
    PHP Warning: Undefined array key “rocket_remove_rucss_failed_jobs” in /wp-content/plugins/bulletproof-security/admin/tools/tools.php on line 979
    PHP Warning: Trying to access array offset on value of type null in /wp-content/plugins/bulletproof-security/admin/tools/tools.php on line 979

    Actually, I have not seen a specific issue. This is just because I’ve received those warnings. The site is a staging site, in order to learn a little about BPS Pro and make some changements without fear to break a production site if I set a wrong setting^^;

    So, my question is : what are those PHP warning? Is this because it’s a staging site?

    For example, the 2 last warning on line 979 talking about “rocket_remove…” : Normally I have WPRocket plugin activated. But I’ve deactivated it on this staging site. Could is this the problem for this 2 warnings?

    The others ones, I don’t know where it could come from…

    #42973
    AITpro Admin
    Keymaster

    You can disregard all of these PHP errors.  The first 4 happen on first time installations of BPS Pro and should not repeat. The last 2 are known nick nack php errors that I have not gotten around to fixing.  The last 2 php errors happen when you go to the BPS Pro > Tools page.

    #42978
    Fantou
    Participant

    Hi,

    Thanks for your quick reply and the explanations. So, is there a way to exclude these 2 lasts PHP warning from detection, in order to not have an alert ?

    #42979
    AITpro Admin
    Keymaster

    It’s no longer possible to suppress php errors.  You can turn off the PHP Error dashboard alert on the BPS Pro > Display & Alert Options page > PHP Error Log: New Errors in The PHP Error Log Alerts > Turn Off Displayed Alerts.  I will get rid of these nuisance php errors on the Tools page in the next BPS Pro version.

    #42989
    Fantou
    Participant

    Hi,

    Thanks, great news! 🙂 And thank you for your informations.

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