• When resetting a password BWPS generate a warning message when you click the emailed link to reset your password:

    Notice: Undefined offset: 0 in /homepages/30/d466115010/htdocs/tcwg/tcwg2013/wp-content/plugins/better-wp-security/inc/secure.php on line 1156

    This is the code with the issue:

    Line 1155 foreach ( $userInfo->roles as $capability => $value ) {
    Line 1156     if ( $availableRoles[$capability] < $availableRoles[$minRole] ) {
    Line 1157         $enforce = false;
    Line 1158     }
    Line 1159 }

    Line 1156 should be:

    if ( $availableRoles[$value] < $availableRoles[$minRole] ) {

    https://www.ads-software.com/plugins/better-wp-security/

  • The topic ‘Password reset generates notice’ is closed to new replies.