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.
Steps to repeat this problem:
1. Install ldap-7.x-1.0-beta12 (my version -- any 1.x version should do).
2. Enable ldap_servers. Verify installation.
3. Replace the 7.x-1.0-beta12 code with the 7.x-2.0 code.
4. Run update.php or 'drush updb -y'
5. Visit /admin/reports/dblog. You should see an error on this page.
6. Run 'drush wd-show' you should see this error:
Recoverable fatal error: Argument 2 passed to t() must be of the type array, integer given, called in /openucb-1540/modules/dblog/dblog.admin.inc on line 295 and defined in t() (line 1755 of /openucb-1540/includes/bootstrap.inc).
The source of the error is this call to watchdog() which passes the severity where the variables array should be.
Patch forthcoming.
Comment | File | Size | Author |
---|---|---|---|
#2 | ldap_servers-fix-wdog-updb_2870792.patch | 460 bytes | bwood |
Comments
Comment #2
bwood CreditAttribution: bwood as a volunteer commentedComment #3
bwood CreditAttribution: bwood as a volunteer commentedComment #5
grahlClearly wrong, thanks!