Closed (outdated)
Project:
Location
Version:
6.x-3.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2013 at 04:29 UTC
Updated:
20 Jul 2016 at 11:48 UTC
Jump to comment: Most recent
running Core version 6.26, tried to update to Location version 6.x-3.3
when running update.php, got this error:
i am not 100% sure, but i believe that what is missing is the line
$ret = array();
at the beginning of function location_update_6310 in location.install
Comments
Comment #1
earthangelconsulting commentedps: forgive me if this is a duplicate, but the issues search isn't working properly right now, times out and gives whitescreen when searching for issues containing a particular text string. so i am unable to tell if this has been reported already or not.
Comment #2
ITMonkey commentedI get the same error when updating to this version, rather than installing.
warning: array_merge(): Argument #2 is not an array in .../update.php on line 173.
warning: Invalid argument supplied for foreach() in .../update.php on line 340.
Comment #3
jacqi.jordan commentedI am also experiencing these errors on a fresh install of Drupal 6.28 when updating the Location module from 6.x-3.2 to 6.x-3.3:
warning: array_merge() [function.array-merge]: Argument #2 is not an array in /xxx/xxx/Sites/xxx/update.php on line 173.
warning: Invalid argument supplied for foreach() in /xxx/jxxx/Sites/xxx/update.php on line 340.
This issue may be related, which I have also posted to: https://drupal.org/node/2148765
Comment #4
Tech-Tonic commentedThanks @goatvirus I had the same problem with this update from 3.2 -> 3.3 and your fix sorted it, but it needed both the variable array declaration at the beginning and return at the end otherwise it won't show the result.
I also had a "table already exists" error so simply deleted the empty drupal_location_country table before running the update. Probably caused by a previous failed update to this module.
Comment #5
earthangelconsulting commented@will-mowlam - thanks for posting that, all possible detail helps here.
FYI to all... I have had official word from module maintainer podarok that as far as GMap goes (and I am guessing this applies to Location too, which he also maintains) we are kind of "on our own" for any D6 versions:
Well then... let's just keep patching until we can patch no longer :-)
Comment #6
legolasboClosing old D6 issues as D6 is end of life