warning: array_merge() in update.php

charmer - September 2, 2008 - 13:01
Project:Multisite Maintenance
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi,

I tested this module a bit on on Drupal 5.9. I successfully set up a backup directory, found mysqldump and gzip for operation and modified my virtualhost settings to adjust open_basedir and switch off the safemode. I was able to take all my three test sites offline at once and for testing I uploaded newer version of one module.

Update.php run for all three sites was a success as well but at the end of the whole process I got this:

    * warning: array_merge() [function.array-merge]: Argument #2 is not an array in /usr/share/drupal5/update.php on line 309.

It tracks back to this line of code:

  $_SESSION['update_results'][$module][$number] = array_merge($_SESSION['update_results'][$module][$number], $ret

in update_data function. It was one of this line per site.

Is this harmful in any way? I brought the sites back online and noticed nothing weird so far but still...

#1

dalin - September 2, 2008 - 23:43
Status:active» closed

Argument 2 is the output of your update so this is a bug with your update and not with multisite_maintenance.

 
 

Drupal is a registered trademark of Dries Buytaert.