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 CiviReport (Moderator: Dave Greenberg) »
  • Multiple different notices in CiviReport
Pages: [1]

Author Topic: Multiple different notices in CiviReport  (Read 1339 times)

cognoscento

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 1
  • CiviCRM version: 4.2
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.65
  • PHP version: 5.3.17
Multiple different notices in CiviReport
November 17, 2011, 11:02:26 am
I'm getting different errors (mostly undefined index ones) on several different reports. Instead of searching for solutions to each one individually, I'm wondering if they might all have a common cause. Any suggestions on what might be causing the problems below?

When I try to pull up the "Activity" report in CiviReport, I get a long series of notices (probably close to fifty) followed by the report itself. All the notices on that report take the form of:

Code: [Select]
Notice: Undefined offset: 20 in CRM_Report_Form_Activity->alterDisplay() (line 471 of /home/interpca/public_html/sites/all/modules/civicrm/CRM/Report/Form/Activity.php).
Meanwhile, a quick check of other reports brings up some other notices, including this one for the "Membership Report (Summary)":
Code: [Select]
Notice: Undefined property: CRM_Report_Form_Member_Summary::$_grandFlag in CRM_Report_Form->statistics() (line 1910 of /home/interpca/public_html/sites/all/modules/civicrm/CRM/Report/Form.php).
And the "Donation Summary Report (Organization) has the following error:

Code: [Select]
Notice: Undefined index: options in _civicrm_api3_apply_options_to_dao() (line 442 of /home/interpca/public_html/sites/all/modules/civicrm/api/v3/utils.php).
in the "Bookkeeping Transactions" Report:
Code: [Select]
Notice: Undefined index: 1 in CRM_Report_Form_Contribute_Bookkeeping->alterDisplay() (line 262 of /home/interpca/public_html/sites/all/modules/civicrm/CRM/Report/Form/Contribute/Bookkeeping.php).
Any suggestions would be *most* appreciated...

jamiegrinnell

  • Guest
Re: Multiple different notices in CiviReport
February 03, 2012, 11:47:10 am
Did you ever find out what happened? I just updated to CiviCRM 4.0 and also get:

Notice: Undefined property: CRM_Report_Form_Member_Summary::$_grandFlag in CRM_Report_Form->statistics() (line 1933 of /home/cvyp/websites/beta/sites/all/modules/civicrm/CRM/Report/Form.php).

Cat Paquin

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Joomla 3.2.3
  • MySQL version: 5.5.30
  • PHP version: 5.3.17
Re: Multiple different notices in CiviReport
March 09, 2012, 07:04:40 pm
I am seeing the same:

Notice: Undefined property: CRM_Report_Form_Member_Summary::$_grandFlag in CRM_Report_Form->statistics() (line 1933 of /home/.../www/www/sites/all/modules/civicrm/CRM/Report/Form.php)

Any suggestions?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Multiple different notices in CiviReport
March 09, 2012, 08:46:42 pm

Note that you have to suppress notices for 4.0.x

in 4.1, we've made a big push towards making CiviCRM notice-free. if you do see a notice in 4.1, please reproduce on the demo server and file an issue with steps to reproduce. would be great if you can investigate and submit a patch

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Multiple different notices in CiviReport

This forum was archived on 2017-11-26.