Closed (fixed)
Project:
GMap Module
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Sep 2006 at 09:27 UTC
Updated:
4 Sep 2007 at 00:53 UTC
Just Updated to the Sep192006 version from the previous, and it generated a conflict with gmap; the following warning message appears:
warning: Missing argument 3 for theme_views_handle_field() in /home/mysite/public_html/modules/views/views.module on line 1272
This was not a problem before updating.
Comments
Comment #1
merlinofchaos commentedThere was a slight change in the API.
Somewhere in the theming functions, there is a call to views_theme('views_handle_field', ...
Add the view (usually $view) as the last argument to that call. It'll fix the problem.
Comment #2
jasonwhat commentedCould you show the old code and new side by side?
Comment #3
sym commentedThis is a problem with PHP 4 for me - it works fine in PHP 5 but breaks in 4 with:
warning: Missing argument 3 for theme_views_handle_field() in /*path/to/site*/modules/views/views.module on line 1272.
Comment #4
fangius commentedI'm getting the same error as the previous poster.
Running PHP Version 5.1.4 on XAMPP, latest version of Views module 4.7.0, 02/10/2006 - 02:01, 139.63 KB.
the map displays with the markers and a "warning: Missing argument 3 for theme_views_handle_field() in whatever\modules\views\views.module on line 1272.
Comment #5
yched commentedThis is a Gmap issue, actually.
needs to be replaced with
This is not a proper patch, I don't use this module and have no local copy...
Comment #6
fangius commentedYour info is correct, yched. I applied your code to gmap.module (line 1223) and everything works fine.
The err message was 'a bit misleading', I thought the 'somewhere in the theming functions' (by merlinofchaos) belonged to the views module.
Comment #7
suzan24k commentedGmap.module fix worked for me too running PHP 4.4.0.
Thank you.
Suzan
Comment #8
Tobias Maier commentedyou are talking about the gmap.module not googlemap.module?
Comment #9
yched commented@Tobias : Er, right, this is for Gmap and not GoogleMap, thanks for correcting :-)
Comment #10
marcoBauli commentedSame problem, but the fix above (already included in latest GMap module version) does not solve the issue:
warning: Missing argument 3 for theme_views_handle_field() in /home/user/public_html/drupal/modules/views/views.module on line 1344.Running Drupal 4.7.2, Latest Views (v 1.159.2.25) and latest GMap (v 1.49)
help apreciated, thank you
Comment #11
bdragon commentedIf this is still an issue, reopen the bug please.
Thank you.
--Brandon