Ready to get started?Download WordPress


iThemes Security (formerly Better WP Security)
[resolved] [Plugin: Better WP Security] Error when validating the profile page (6 posts)

  1. Kerfred
    Posted 2 years ago #

    When validating the profile page, I get:
    E_WARNING: Invalid argument supplied for foreach()
    It comes from wp-content/plugins/better-wp-security/inc/secure.php line 813.


  2. Kerfred
    Posted 2 years ago #

    The solution is to replace $userInfo->wp_capabilities by $userInfo->caps on line 813.

    Can you please fix it in your next release ?

  3. b.l.k
    Posted 2 years ago #

    The same has to be done in function strongpass() on line 914 in the same file.

    Thank you

  4. This should have been fixed in 3.2.5. Please let me know if you experience any further issues.

  5. Kerfred
    Posted 2 years ago #

    There is still the same issue line 981 in version 3.2.5.

  6. Kerfred,

    I've updated the code in the development version

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic