A location node which represents a user does not get deleted when the associated user is deleted. This can cause a number of issues, but we found it when we received the following gmap error in our logs:
array_intersect() [function.array-intersect]: Argument #1 is not an array in /var/www/folkjam/html/sites/all/modules/gmap/gmap_location.module
(I'm placing the error message here in case anyone searches for the text)
The attached patch file adds a delete clause in hook_user for the location module and removes the location node associated with that user, if it exists.
-Shawn
| Comment | File | Size | Author |
|---|---|---|---|
| location_user_delete_fix.patch | 328 bytes | smulkey |
Comments
Comment #1
bdragon commentedMarking as duplicate of http://drupal.org/node/110334.