I'm reporting this on behalf of a customer:
---
I've been getting this error clearing the cache with drush on a local copy of the site -- "mysqli_real_escape_string() expects parameter 2 to be string, array given database.mysqli.inc" -- and traced it to the acquia_spi_menu() function in the acquia connector suite. 'access callback' should be a string not an array:
- 'access callback' => array('_acquia_spi_send_access'),
+ 'access callback' => '_acquia_spi_send_access',
Comments
Comment #1
pwolanin commentedIndeed - looks like that would fail for all but user 1?
Comment #2
David_Rothstein commentedI do not see this code in either 6.x-2.1 or 6.x-2.x-dev, and git blame suggests it was fixed in November (before 6.x-2.1 was released): http://drupalcode.org/project/acquia_connector.git/commitdiff/9fe41ab8cf...
Are they running an out of date version of the module?
Comment #3
BrockBoland commentedSeeing this bug in 6.x-2.0, but it's fixed in 6.x-2.1.