I Need To Make A Change With My IT Support! Call (225) 706-8414

Better-WP-Security error when updating a user profile – fixed!

Users of Better-WP-Security report this error often: A user tries to update their profile and then when they click Update, they see this in their browser:

Warning: Invalid argument supplied for foreach() in /home/xx/public_html/wp-content/plugins/better-wp-security/inc/secure.php on line 916

Warning: Cannot modify header information – headers already sent by (output started at /home/xx/public_html/wp-content/plugins/better-wp-security/inc/secure.php:916) in /home/xx/public_html/wp-includes/pluggable.php on line 934

Solution

There is a bug in the better-wp-security code. If you look at :916 in secure.php, you’ll find it’s in the function strongpass(). So, to get rid of this error, do NOT use this feature “Enable strong password enforcement”. Ensure that it is not checked. Refresh your browser. The error should now stop.

 

Concerned About Cyber Attacks?

CLICK HERE >

Want to Migrate to the Cloud?

CLICK HERE >
Office 365

Ready to Experience Microsoft Office 365?

Want the latest IT news directly in your inbox? Subscribe now!