Closed (fixed)
Project:
Google Maps Tools
Version:
6.x-2.0-beta2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2010 at 11:07 UTC
Updated:
6 Mar 2010 at 10:00 UTC
Hello,
I get this warning displayed after installing "Gmaps", "GMaps Content" and "Gmaps Taxonomy"
* warning: array_merge_recursive() [function.array-merge-recursive]: Argument #2 is not an array in /gmaps/gmaps.module on line 903.
* warning: array_merge_recursive() [function.array-merge-recursive]: Argument #2 is not an array in /gmaps/gmaps.module on line 920.
* warning: array_merge_recursive() [function.array-merge-recursive]: Argument #2 is not an array in /includes/form.inc on line 1367.
* warning: array_merge_recursive() [function.array-merge-recursive]: Argument #2 is not an array in /includes/form.inc on line 1367.
I assume, that it results of no existing configured gmaps-cck-field.
Now I have a few questions of using "GMaps Taxonomy":
I would be happy if anybody could help me.
I'm so glad using this module - don't like "location"/"Google Maps" :-)
Thanks in advance,
Ralf
Comments
Comment #1
R.Hendel commentedOK - most of the questions I could find myself by reading module description :-)
Maybe you just want to know, that there is displayed an error message, even if there is a GMap-CCK-Field is configured...
Comment #2
xmarket commentedFirst of all, there are too much independent question in one topic.........
- array_merge_recursive() error: It seems the FAPI is unable to find the definition of the system defined textfield element on your instance. (?????)
- GMaps taxonomy: as you realized, that is "only" a node listing module
- Geodesical data for terms: use the GMaps term module. Available from 2.x-beta3 (now in dev)
- Error message: Can you provide more info? (what, where, etc.)
Comment #3
R.Hendel commentedHello xmarket,
thanks for your answer.
You're absolutely right: that was too much stuff for one single issue. Sorry ;-)
Since installing GMaps I get displayed these error message on every page. I have no idea, why.
Which informations could be helpfull for you?
Thanks - I tried "GMaps term" and posted a separate issue for this.
Comment #4
xmarket commentedDo you use php 5.3?
If yes, then this is a php 5.3 incompatibility issue, and this causes the other problems you reported in the last few days.
Anyway, I changed the code, so the bug is "fixed".
Comment #5
R.Hendel commentedServerconfig is Apache/2.2.3 (Debian) PHP/5.2.0-8+etch16 mod_ssl/2.2.3 OpenSSL/0.9.8c
I will try actual dev - thanks
Comment #6
R.Hendel commentedI did install actual dev, run update and cron, flushed cache
There has nothing changed after installing actual version :-(
Thanks and best regards, Ralf
Comment #7
R.Hendel commentedComment #8
kars-t commentedThe reason for this is you use a recursive call to hook_elements. By calling _element_info which calls hook_elements inside of gmaps_elements you can't recieve the needed data. This basically should never have worked :)
Thanks for your effort and this was already fixed!