Details
-
Type: Patch
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.1.5
-
Fix Version/s: 4.2.1
-
Component/s: Drupal Integration Modules
Description
When adding the "Full address" field to a View, the following error is returned:
views Fatal error: Call to a member function use_group_by() on a non-object in views/includes/handlers.inc on line 296
After a bit of searching, I found a similar old issue in the Date module where it said it was caused by using the ui_name() function. Removing the call to this function in that handler and returning an empty string instead (same as views_handler_field.inc does) fixed the problem.
I made that change and a similar one to another civicrm views handler. See attached patch
FYI, using Views 7.x-3.3, Civicrm 4.1.5