Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-10755

views Fatal error: Call to a member function use_group_by() on a non-object

    Details

      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

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              stella Stella Power
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: