Closed (fixed)
Project:
GMap Module
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2007 at 23:01 UTC
Updated:
29 Mar 2007 at 15:32 UTC
I get the following when install on 5x. May be related to having Location module installed as well?
warning: array_merge() [function.array-merge]: Argument #4 is not an array in /sites/all/modules/gmap/gmap.module on line 1229.
warning: implode() [function.implode]: Bad arguments. in /sites/all/modules/gmap/gmap.module on line 1229.
Comments
Comment #1
belio commentedI've got the same, with only "GMAP" and "GMap Macro Builder" active, and "Location" not installed
Erwin
Comment #2
stella commentedI get this error too except I get it for arguments #1 through #4. I also get this error:
warning: implode() [function.implode]: Bad arguments. in /var/www/drupal_5.1_20070214/html/sites/all/modules/gmap/gmap.module on line 1229.
I have the following location modules installed: Location, Location Views, GMap, GMap Location, GMap Macro Builder, GMap View Integration and KML. I downloaded them all from CVS yesterday, with the DRUPAL-5 tag.
Cheers,
Stella
Comment #3
pshadow commentedI as well get it for Arguments 1 through 4 and then the implode.
Comment #4
stella commentedThe patch supplied in issue http://drupal.org/node/118600 also fixes this problem for me.
However, when I now preview or submit a node with locative info I get "value" printed at the top of the screen for each location. On the preview, I also loose my latitude and longitude settings in the form and they're not displayed in the preview section. In addition on the submit I get the error I reported in http://drupal.org/node/115617.
Cheers,
Stella
Comment #5
hyperlogos commentedhttp://drupal.org/node/118600 fixes this bug for me, too.
Comment #6
stella commentedJust fyi, the latest version from CVS fixes this problem and issue http://drupal.org/node/118600 for me. I'm running lighttpd/1.4.11, php 5.1.2 and mysql 5.0.22 on ubuntu.
Comment #7
stella commentedComment #8
stella commentedA similar problem is still occurring on the "build a GMap macro" page. I'm using a drupal version taken from CVS yesterday (with DRUPAL-5) tag. All errors are repeated a number of times.
Cheers,
Stella
Comment #9
hyperlogos commentedMy errors, when building a macro:
Also the map does not start on the center I have configured in the settings. It is close, but not on.
Comment #10
bdragon commentedI'm assuming this is fixed with http://drupal.org/node/118600.
Comment #11
stella commentedsee comments #8 and #9. Perhaps they should be opened as a new issue, but the errors returned are almost identical and the patch in #118600 does not fix these.
Comment #12
(not verified) commented