Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
shivanshuag CreditAttribution: shivanshuag commentedThanks for pointing this out. Fixed.