Title: System info reporting error for wp-config.php
Last modified: August 31, 2016

---

# System info reporting error for wp-config.php

 *  Resolved [wpconvert](https://wordpress.org/support/users/wpconvert/)
 * (@wpconvert)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/system-info-reporting-error-for-wp-configphp/)
 * Hi.
 * Have been using Bulletproof on a few sites for quite some time (since .46) and
   have to say thank you for the great plugin and excellent support – you really
   do set a benchmark for other developers to follow.
 * Anyway, this isn’t a problem as such – more reporting an issue.
    Using Bulletproof
   Security 53.1 on WordPress 4.4.1.
 * When checking the System Info, this error message displayed in File/Folder Permissions
   area:
 * Warning: stat(): stat failed for ../wp-config.php in /var/sites/m/mywebsite.co.
   uk/public_html/wp-content/plugins/bulletproof-security/includes/general-functions.
   php on line 320
 * wp-config.php recommeded security permissions 0400 current permissions 0
 * I imagine that this is related to the fact that wp-config.php has been moved 
   to the folder above public_html (I always do this with all sites as a security
   measure). Just thought I’d highlight the error message as something that you 
   might want to address in a future update?
 * Thanks again for all your effort.
 * [https://wordpress.org/plugins/bulletproof-security/](https://wordpress.org/plugins/bulletproof-security/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/system-info-reporting-error-for-wp-configphp/#post-6938718)
 * Thanks for the Kudos – we try our best and that is all anyone can do. 🙂
 * Thanks for pointing that out. We will fix that in the next BPS version release.
   We can either suppress the php error since it falls under the insignificant error
   category or do an additional check for “if the wp-config.php file exists”, which
   would technically be the correct way to handle that issue/error/problem.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/system-info-reporting-error-for-wp-configphp/#post-6938719)
 * Oh and if you want to make the error go away now then you would edit the bulletproof-
   security/includes/general-functions.php file on code line 320 and add an @ symbol
   in front of the stat function.
 * `$stat = @stat($path);`
 *  Thread Starter [wpconvert](https://wordpress.org/support/users/wpconvert/)
 * (@wpconvert)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/system-info-reporting-error-for-wp-configphp/#post-6938785)
 * And there it is – acknowledgement of the issue, considering a method for a future
   update…and ‘easy fix’ advice for the current installation.
 * Thanks again – obviously marking as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘System info reporting error for wp-config.php’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

## Tags

 * [wp-config](https://wordpress.org/support/topic-tag/wp-config/)

 * 3 replies
 * 2 participants
 * Last reply from: [wpconvert](https://wordpress.org/support/users/wpconvert/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/system-info-reporting-error-for-wp-configphp/#post-6938785)
 * Status: resolved