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":

  • My intention for using "GMaps Taxonomy" is giving term of a single vocabulary Gmaps-information and to connect nodes of different types with that terms. I don't want to store Gmap Information in Nodes/CCK-Field. Is this a possible way?
  • I found no way to add Gmaps-Information to vocabs or terms.
  • And I wonder, why I have to activate "GMaps Content" for using "GMaps Taxonomy". I don't intend storing Gmaps information in CCK-Fields.

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

R.Hendel’s picture

Category: support » feature

OK - most of the questions I could find myself by reading module description :-)

HOWTO: use the taxonomy feature
    * gmaps has a custom location taxonomy implementation, because regular taxonomy integration makes impossible to implement important features.
    * Location taxonomy has only one logical vocabulary: locations. (Nowhere accessible, do not try to find it........)
    * Location terms are automatically generated and come from the submitted address values.
    * So, the feature is only a taxonomy-like node listing callback at "taxonomy/location".

Maybe you just want to know, that there is displayed an error message, even if there is a GMap-CCK-Field is configured...

xmarket’s picture

First 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.)

R.Hendel’s picture

Hello xmarket,
thanks for your answer.
You're absolutely right: that was too much stuff for one single issue. Sorry ;-)

- array_merge_recursive() error: It seems the FAPI is unable to find the definition of the system defined textfield element on your instance. (?????)
- Error message: Can you provide more info? (what, where, etc.)

Since installing GMaps I get displayed these error message on every page. I have no idea, why.
Which informations could be helpfull for you?

- 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)

Thanks - I tried "GMaps term" and posted a separate issue for this.

xmarket’s picture

Status: Active » Fixed

Do 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".

R.Hendel’s picture

Serverconfig 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

R.Hendel’s picture

I did install actual dev, run update and cron, flushed cache
There has nothing changed after installing actual version :-(

Thanks and best regards, Ralf

R.Hendel’s picture

Status: Fixed » Active
kars-t’s picture

Status: Active » Fixed

The 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!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.