PHP error logged is "preg_match() expects parameter 2 to be string, array given in /var/www/dev6-html/includes/common.inc on line 492."
It's easy enough to test whether $GLOBAL['db_prefix'] is an array and do the comparison with $GLOBAL['db_prefix']['default'], but it's not clear to me whether this is actually correct. Does the simpletest stuff work at all if db_prefix has a non-null value?
Comments
Comment #1
wuwei23 commentedSubscribing.
This didn't occur with 6.12 and happened immediately after upgrading to 6.13.
Comment #2
heine commentedSee #482646: Backport SimpleTest testing in drupal_http_request().
Comment #3
chris.maltby commentedPatch for 6.13 release can be found at http://drupal.org/files/issues/482646-followup-D6.patch.