On trying to show the user location map i get the following error below - when i edited my location in the admin account it then crashed my entire site with blank pages everywhere. I had everything working until i upgraded to the new release of the gmap module.

    * warning: ksort() expects parameter 1 to be array, null given in C:\apache2triad\htdocs\modules\gmap\gmap_location.module on line 116.
    * warning: Invalid argument supplied for foreach() in C:\apache2triad\htdocs\modules\gmap\gmap_location.module on line 117.

I reinstalled the backup i had made before i installed the new gmap module and now can't re-create the error, but have managed to add my location and the map now shows user locations.

I'm running:
- drupal 4.7
- the location module is installed but user functionality within location.module is disabled as recommended
- and the gmap and gmpa location module are both installed (4.7.0, 30/06/2006 - 14:16, 113.07 KB)

Comments

webgeer’s picture

Thanks for this. I know what the problem is. It would only show up if there are no users in the database that have a location set and you try to view the users map.

I will fix it soon....

webgeer’s picture

Assigned: Unassigned » webgeer
Priority: Critical » Normal

Should be fixed now. It should also be noted that you had to have buddies module installed for this error to occur.

webgeer’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)