Upon creation or change of a user by an admin the following error occurs:
PHP Fatal error: Call to a member function condition() on a non-object in /sites/all/modules/password_policy/constraints/constraint_delay.inc on line 34
The user is not created in the user-list and a user with UID 0 appears in the database. Upon change a blank page is shown and the changes are not made.
This issue appeared on the latest Drupal-version with active ACL- and AES-modules. It also appeared with deactivated AES-module. If ACL was deactivated it worked. If Password policy was first activated and afterwards ACL, it also worked.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | password_policy-fatal_error_no_account-1539196-1.patch | 606 bytes | erikwebb |
Comments
Comment #1
erikwebb commentedIt appears this problem is caused when Password Policy is fired before the account is created. I'm not sure what ACL would be interacting with here.
Please test and review.
Comment #2
erikwebb commentedComment #4
erikwebb commented#1: password_policy-fatal_error_no_account-1539196-1.patch queued for re-testing.
Comment #6
erikwebb commentedhttp://drupalcode.org/project/password_policy.git/commit/412b9ae