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.
Recoverable fatal error: Argument 2 passed to db_query() must be an array, string given, called in \drupal7\sites\all\modules\httprl\httprl.nonblocktest.inc on line 43 and defined in db_query() (line 2309 of \drupal7\includes\database\database.inc).
Comment | File | Size | Author |
---|---|---|---|
#8 | 1420092_WSOD_because_of_suppressed_D6_leftover_error.patch | 803 bytes | hass |
#4 | httprl-1420092-4-fix-d7-db_query-syntax-issue.patch | 529 bytes | mikeytown2 |
#2 | 1420092 httprl_lock_release() not upgraded to D7.patch | 589 bytes | hass |
#1 | 1420092 httprl_lock_release() not upgraded to D7.patch | 577 bytes | hass |
Comments
Comment #1
hass CreditAttribution: hass commentedComment #2
hass CreditAttribution: hass commentedLet's use this one, it's better readable.
Comment #3
hass CreditAttribution: hass commentedI don't know why, but fixing this bug *may* cause a WSOD on report status page and config page after all caches have been cleared. Strange... i cannot find the source of the WSOD.
Comment #4
mikeytown2 CreditAttribution: mikeytown2 commentedThis patch has been applied to 6.x & 7.x
Comment #5
hass CreditAttribution: hass commentedAs noted above, I see only a WSOD on admin/reports/status. Nothing logged in watchdog and apache error logs, but I get a white page... :-(
Comment #6
mikeytown2 CreditAttribution: mikeytown2 commentedI can't repo your report on my D7 site. Try running with this at the bottom of your settings.php file.
Comment #7
hass CreditAttribution: hass commentedFor release. My site is broken...
Comment #8
hass CreditAttribution: hass commentedHeck... by suppressing errors with @ you made it really hard to track down...
It would be a good idea to enable automated testing on the project... :-)
Comment #9
hass CreditAttribution: hass commentedComment #10
hass CreditAttribution: hass commented$result = db_query('SELECT value FROM {variable} WHERE name = :name', array(':name' => 'httprl_server_addr'))->fetchAssoc();
may be a candidate to get changed to->fetchField()
Comment #11
hass CreditAttribution: hass commentedFollowup with #8 in #1429264: WSOD because of suppressed D6 leftover error.