Closed (fixed)
Project:
Drupal For Firebug
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Sep 2008 at 20:11 UTC
Updated:
15 Mar 2009 at 06:10 UTC
Hi
Just installed this module to see how it works. Thanks for your work!
Drupal 5.10 on each page generated by Views module I see warning:
"warning: Missing argument 3 for drupalforfirebug_views_pre_view(), called in /www/ekklesia/sites/all/modules/views/views.module on line 598 and defined in /www/ekklesia/sites/all/modules/drupalforfirebug/drupalforfirebug.module on line 31."
Comments
Comment #1
vladsavitsky commentedSimple replacement remove this warning:
Find (line 31):
Replace with:
But don't know is it right solution. Thanks.
Comment #2
lefnire commentedfunction signature for D6 is
hook_views_pre_view(&$view, &$display_id, &$args){for D5 is
hook_views_pre_view($view, &$items){So the hook should be implemented differently in DFFB 5.x than 6.x, but since their hook only uses $view, the above is a safe interim.
Comment #3
kehan commentedwhen will this get fixed? i'm happy to apply the fix, but if you search google for the error the message pops up on a number of sites being developed around the web (including the drupalforfirebug demo site! - http://drupalforfirebug.chapterthree.com/tests/views).
Comment #4
populist commented