You're trying to pass an array to the db_escape_string function that begings on line 319 of database.mysql.inc. I'm not sure what you're trying to squeeze from this turnip but I haven't looked at your code. I did however have to patch my drupal file to serialize and deserialize the return value.

Here is the array that it tried to pass as $text to db_escape_string().

Array ( [0] => use referral ) Array ( [0] => administer referral ) Array ( [0] => administer referral ) Array ( [0] => administer site configuration ) Array ( [0] => administer referral ) Array ( [0] => administer referral ) Array ( [0] => administer referral ) Array ( [0] => administer referral )

Comments

kbahey’s picture

Status: Active » Fixed

I committed a fix for this, it had to do with the access arguments vs. access callback.

Wait for 12 hours, then download the new tarball, then clear the cache (bottom of admin/settings/performance) then try again.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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