Support » Plugins » [Plugin: WP Security Scan] Warning functions.php on line 22

  • Resolved 4help


    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. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • I don’t know if this helps, but it appeared below it:


    I don’t know how I fixed it, but now I’m getting a different problem.

    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.

    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.