Home › Forums › BulletProof Security Pro › PHP Warning: fileperms(): stat failed for /.htaccess in flock.php on line 330
- This topic has 4 replies, 2 voices, and was last updated 2 months, 3 weeks ago by
Fantou.
-
AuthorPosts
-
Fantou
ParticipantHello,
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 979Actually, 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…
AITpro Admin
KeymasterYou 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.
Fantou
ParticipantHi,
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 ?
AITpro Admin
KeymasterIt’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.
Fantou
ParticipantHi,
Thanks, great news! 🙂 And thank you for your informations.
-
AuthorPosts
- You must be logged in to reply to this topic.