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

Static methods called non-statically

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.3
    • Fix Version/s: 4.4.4
    • Component/s: None
    • Labels:
      None

      Description

      Recording the static vs non-static errors I'm seeing when trying to run CRM_Group_Page_AJAX::getGroupList();

      So far

      Non-static method CRM_Contact_BAO_Group::getGroupListSelector() should not be called statically

      /var/www/drupal/sites/default/modules/civicrm/civicrm-core/CRM/Group/Page/AJAX.php:70
      /var/www/drupal/sites/default/modules/civicrm/civicrm-core/CRM/Group/Page/AJAX.php:70

      Non-static method CRM_Contact_BAO_Group::whereClause() should not be called statically

      /var/www/drupal/sites/default/modules/civicrm/civicrm-core/CRM/Contact/BAO/Group.php:744
      /var/www/drupal/sites/default/modules/civicrm/civicrm-core/CRM/Contact/BAO/Group.php:744
      /var/www/drupal/sites/default/modules/civicrm/civicrm-core/CRM/Contact/BAO/Group.php:686
      /var/www/drupal/sites/default/modules/civicrm/civicrm-core/CRM/Group/Page/AJAX.php:70

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: