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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bwood created an issue. See original summary.

bwood’s picture

bwood’s picture

Status: Active » Needs review

  • grahl committed 974d530 on 7.x-2.x authored by bwood
    Issue #2870792 by bwood: LDAP Servers: Incorrect watchdog arguments...
grahl’s picture

Status: Needs review » Fixed

Clearly wrong, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.