CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Broken Membership Detail reports
Pages: [1]

Author Topic: Broken Membership Detail reports  (Read 524 times)

WORC

  • I’m new here
  • *
  • Posts: 9
  • Karma: 1
  • CiviCRM version: 4.6.9
  • CMS version: Drupal 7.37
  • MySQL version: 5.6.27
  • PHP version: 5
Broken Membership Detail reports
April 20, 2015, 08:49:21 am
I've broken some membership reports after creating custom fields. I get this error message when trying to run reports based on the Membership Detail report:

Fatal error: Cannot redeclare CRM_Report_Form_Member_Detail::$_customGroupExtends in /home/sitename/www/www/sites/all/modules/civicrm/CRM/Report/Form/Member/Detail.php on line 49

Troubleshooting tried since getting the error:
The custom fields (used for memberships) have been deleted.
The related membership type has been deleted.

No other report types seem to be affected. Any ideas on a fix?

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Broken Membership Detail reports
April 20, 2015, 08:50:39 am
Does it only affect the saved report? Are you able to create a new Membership Detail Report from scratch?
Try asking your question on the new CiviCRM help site.

WORC

  • I’m new here
  • *
  • Posts: 9
  • Karma: 1
  • CiviCRM version: 4.6.9
  • CMS version: Drupal 7.37
  • MySQL version: 5.6.27
  • PHP version: 5
Re: Broken Membership Detail reports
April 20, 2015, 08:56:44 am
No. Reports created using the "Create New Report from Template" screen also give me the same error

WORC

  • I’m new here
  • *
  • Posts: 9
  • Karma: 1
  • CiviCRM version: 4.6.9
  • CMS version: Drupal 7.37
  • MySQL version: 5.6.27
  • PHP version: 5
Re: Broken Membership Detail reports
April 20, 2015, 09:12:41 am
I was able to resolve this error message, but I can't really recommend this solution to others since I'm not sure if there will be any side-effects: I simply removed the text

protected $_customGroupExtends = array( 'Contribution' );

From line 49 of Detail.php.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Broken Membership Detail reports

This forum was archived on 2017-11-26.