Hello,

Several warnings were issued when upgrading emfield-6.x-1.15.tar.gz to emfield-6.x-1.17.tar.gz (Drupal 6.14). Here they are:

    * warning: array_merge() [function.array-merge]: Argument #2 is not an array in D:\biz\apps\drupal\update.php on line 174.
    * warning: Invalid argument supplied for foreach() in D:\biz\apps\drupal\update.php on line 338.

I took a look at around these lines. First warning is related to

 $context['results'][$module][$number] = array_merge($context['results'][$module][$number], $ret);

$ret parameter.
At lines 159-161, $ret is initialized but in operator if body:

  if (function_exists($function)) {
    $ret = $function($context['sandbox']);
  }

If this if fails, $ret remains udefined.
-------------------------------------------------------------------------------------------------
Second warning is related to this line:

          foreach ($queries as $query) {

Regards,
Ivan

Comments

WorldFallz’s picture

Sounds like a bug report -- you might want to post it to the module's issue queue.