Title: Hacked? Bug?
Last modified: August 21, 2016

---

# Hacked? Bug?

 *  [cdk creative](https://wordpress.org/support/users/cdkcreative/)
 * (@cdkcreative)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/hacked-bug/)
 * Error message appearing at the top of pages:
 * “Warning: Invalid argument supplied for foreach() in /home/ACTUAL USER’S HOME
   DIR NAME/public_html/wp-content/plugins/better-wp-security/inc/filecheck.php 
   on line 182”
 * Seems like it’s either been compromised or it’s a bug. Either way, exposing the
   full path in an error message as clear text right on page seems not so very bueno.
 * Any help?
 * [https://wordpress.org/plugins/better-wp-security/](https://wordpress.org/plugins/better-wp-security/)

Viewing 1 replies (of 1 total)

 *  [lothsun](https://wordpress.org/support/users/lothsun/)
 * (@lothsun)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/hacked-bug/#post-4607831)
 * Is your site in debug mode?

Viewing 1 replies (of 1 total)

The topic ‘Hacked? Bug?’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [lothsun](https://wordpress.org/support/users/lothsun/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/hacked-bug/#post-4607831)
 * Status: not resolved