On line 72 of securesite.inc, there is a call to user_load, with an array as argument. This follows the D6 api and not the D7 api. The result is a warning about array_flip not possible on arrays.

To fix, replace the line with the following:

$account = user_load_by_name($edit['name']);

Sorry for not providing a patch right away, I' have to investigate how to do that, and don't have the time atm.

Kind regards,

Pieter

Comments

  • shivanshuag committed f993f85 on 7.x-2.x
    Issue #2425865: replace user_load call to avoid array_flip warnings and...
shivanshuag’s picture

Status: Active » Closed (fixed)

Thanks for pointing this out. Fixed.