Title: [Plugin: WP Security Scan] Warning functions.php on line 22
Last modified: August 19, 2016

---

# [Plugin: WP Security Scan] Warning functions.php on line 22

 *  Resolved [4help](https://wordpress.org/support/users/4help/)
 * (@4help)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-security-scan-warning-functionsphp-on-line-22/)
 * WP – Security Scan
 * Name File/Dir Needed Chmod Current Chmod
    root directory ../ 0755 755. wp-includes/../
   wp-includes 0755 755. PHP Error Message
 * Warning: fileperms() [function.fileperms]: stat failed for ../.htaccess in /home/*********/
   public_html/wp-content/plugins/wp-security-scan/functions.php on line 22
 * Hello everyone. Can anyone help me with this?
 * Thanks. 🙂
 * [http://wordpress.org/extend/plugins/wp-security-scan/](http://wordpress.org/extend/plugins/wp-security-scan/)

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

 *  Thread Starter [4help](https://wordpress.org/support/users/4help/)
 * (@4help)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-security-scan-warning-functionsphp-on-line-22/#post-1020637)
 * I don’t know if this helps, but it appeared below it:
 * .htaccess../.htaccess0644.0.wp-admin/index.phpindex.php0644755.wp-admin/js/js/
   0755755.wp-content/themes/../wp-content/themes0755755.wp-content/plugins/../wp-
   content/plugins0755755.wp-admin/../wp-admin0755755.wp-content/../wp-content0755755.
 *  Thread Starter [4help](https://wordpress.org/support/users/4help/)
 * (@4help)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-security-scan-warning-functionsphp-on-line-22/#post-1020777)
 * I don’t know how I fixed it, but now I’m getting a different problem.
 *  [vikitech](https://wordpress.org/support/users/vikitech/)
 * (@vikitech)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-security-scan-warning-functionsphp-on-line-22/#post-1020791)
 * I faced the same issue, and resolved it by changing the .htaccess file permissions
   to 644 via File Zilla.
 * If you are not comfortable creating .htaccess files by yourself, i would highly
   recommend The AskApache Password Protect WP Plugin. It can be found here: [AA PassPro](http://wordpress.org/extend/plugins/askapache-password-protect/).
 * It would create the .htaccess files in the root and the wp-admin for you can 
   gives you a awesome list of protection options for WordPress from BOT attacks.
   Make sure you follow the instructions and go through the diagnostic test the 
   plugin goes through to check your webhost capabilities and guides you, which 
   options to select.
 * If any options creates issues,just re-edit .htaccess through FTP and dont enable
   the same option next time in the plugin!
 * This is a good step towards protecting and securing WordPress!
    Hope this help.

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

The topic ‘[Plugin: WP Security Scan] Warning functions.php on line 22’ is closed
to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [vikitech](https://wordpress.org/support/users/vikitech/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/plugin-wp-security-scan-warning-functionsphp-on-line-22/#post-1020791)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
