Recoverable fatal error: Argument 2 passed to db_query() must be an array, string given, called in \drupal7\sites\all\modules\httprl\ on line 43 and defined in db_query() (line 2309 of \drupal7\includes\database\


Title:Argument 2 passed to db_query() must be an array, string givenhttprl_lock_release() not upgraded to D7
Status:Active» Needs review
new577 bytes

Let's use this one, it's better readable.

I 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.

Status:Needs review» Fixed
new529 bytes

This patch has been applied to 6.x & 7.x

Status:Fixed» Needs work

As 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... :-(

Status:Needs work» Postponed (maintainer needs more info)

I can't repo your report on my D7 site. Try running with this at the bottom of your settings.php file.

// Report all php errors.
// Show Errors in output
ini_set('display_errors', '1');
// Display all errors using drupal_set_message().
$conf['error_level'] = 2;

Priority:Normal» Critical

For release. My site is broken...

Status:Postponed (maintainer needs more info)» Needs review
new803 bytes

Heck... by suppressing errors with @ you made it really hard to track down...

Fatal error: Call to undefined function db_result() in \drupal7\sites\all\modules\httprl\httprl.install on line 124

It would be a good idea to enable automated testing on the project... :-)

Version:7.x-1.x-dev» 7.x-1.4

$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()

Status:Needs review» Fixed

Status:Fixed» Closed (fixed)

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