Views Module was recently updated to add a $view variable to the theme_views_handle_field function. Currently Gmap is not sending the variable and therefore is getting the error:

warning: Missing argument 3 for theme_views_handle_field() in [...]/views.module on line 1272

The attached patch sends this variable to fix the errors that were being thrown.

I've tested it against an older version of views as well, and it doesn't seem to break anything, in case people are still running the older version when they upgrade their gmap version.

CommentFileSizeAuthor
#1 gmapviews-cvs.diff803 bytesgeodaniel
gmapviewsfix.diff667 bytesgeodaniel

Comments

geodaniel’s picture

Version: 4.7.x-1.x-dev » 6.x-1.x-dev
StatusFileSize
new803 bytes

Hmm, a patch against CVS may be better... this is the same line as a recent patch that changed p to div for themability.

webgeer’s picture

Status: Needs review » Fixed

Should be patched and part of the gmap.module 4.7 branch/tag

geodaniel’s picture

thanks webgeer!

Anonymous’s picture

Status: Fixed » Closed (fixed)