Title: [Plugin: Better WP Security] Invalid Argument Error
Last modified: August 20, 2016

---

# [Plugin: Better WP Security] Invalid Argument Error

 *  [WISTFUL](https://wordpress.org/support/users/ansar_m/)
 * (@ansar_m)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-better-wp-security-invalid-argument-error/)
 * Hello,
    I have some errors like follow in my public_html error_log but plugin
   works well.
 * > PHP Warning: Invalid argument supplied for foreach() in /home/***/public_html/
   > wp-content/plugins/better-wp-security/inc/filecheck.php on line 180
 * [http://wordpress.org/extend/plugins/better-wp-security/](http://wordpress.org/extend/plugins/better-wp-security/)

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

 *  [Bit51 (part of the iThemes family)](https://wordpress.org/support/users/bit51/)
 * (@bit51)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-better-wp-security-invalid-argument-error/#post-2974998)
 * I will take a look. Thank you for the report.
 *  Thread Starter [WISTFUL](https://wordpress.org/support/users/ansar_m/)
 * (@ansar_m)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-better-wp-security-invalid-argument-error/#post-2975061)
 * Also in wp-admin directory error_log
 * > PHP Fatal error: Call to undefined method WP_Error::get_items() in /home/***/
   > public_html/wp-content/plugins/better-wp-security/lib/bit51/bit51.php on line
   > 353
 *  [Bit51 (part of the iThemes family)](https://wordpress.org/support/users/bit51/)
 * (@bit51)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-better-wp-security-invalid-argument-error/#post-2975081)
 * the 353 error was due to feedburner deleting the feed for the site when I combined
   acccounts. It should be working fine now. As for the other, as soon as I get 
   past “back to school” (I work for a university) I will be looking at it.
 *  [hasbehas](https://wordpress.org/support/users/hasbehas/)
 * (@hasbehas)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-better-wp-security-invalid-argument-error/#post-2975141)
 * Hi,
 * I am still getting the error.
    ** public_html/wp-content/plugins/better-wp-security/
   lib/bit51/bit51.php on line 353
 * Everthing wp+plugin is up-to-date. What might be the problem.
 *  [insider91](https://wordpress.org/support/users/insider91/)
 * (@insider91)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-better-wp-security-invalid-argument-error/#post-2975148)
 * Hey I have this problem also:
 * Warning: Invalid argument supplied for foreach() in XXXXX/wp-content/plugins/
   better-wp-security/inc/filecheck.php on line 182
 *  [Dubbelstein](https://wordpress.org/support/users/dubbelstein/)
 * (@dubbelstein)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-better-wp-security-invalid-argument-error/#post-2975171)
 * Me2 – Multisite installation.
 *  [Bakterius](https://wordpress.org/support/users/bakterius/)
 * (@bakterius)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-better-wp-security-invalid-argument-error/#post-2975184)
 * Me2:
 * [error] [client xxx.xxx.xxx.xxx] FastCGI: server “/var/run/hcgi/26688” stderr:
   PHP Warning: Invalid argument supplied for foreach() in /xxx/wp-content/plugins/
   better-wp-security/inc/filecheck.php on line 182

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

The topic ‘[Plugin: Better WP Security] Invalid Argument Error’ is closed to new
replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

 * 7 replies
 * 6 participants
 * Last reply from: [Bakterius](https://wordpress.org/support/users/bakterius/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-better-wp-security-invalid-argument-error/#post-2975184)
 * Status: not resolved