I am getting the following error when I try to run the SYBUNT report:

Notice: Undefined index: yid_value in CRM_Report_Form_Contribute_Sybunt->where() (line 286 of /srv/bindings/23131a86a5da4d9d91a43fa1623b947f/code/sites/all/modules/contrib/civicrm/CRM/Report/Form/Contribute/Sybunt.php).

  • 1
    What do you get when you try same on one of the CiviCRM Demo sites?
    – petednz - fuzion
    Apr 19 '17 at 5:57
  • Thanks for your post. Could you provide more details about your environment? E.g. versions of CiviCRM, Drupal, PHP etc. Apr 19 '17 at 11:25

that's just a notice - it's annoying - but may not be critical. You can check civicrm JIRA https://issues.civicrm.org/jira/projects/CRM/issues to see if there is an issue for it/report it (if not already).

If this is a live site then it's recommended not to display any errors. On Drupal go here:


and set to None.

  • 1
    It was causing a database error that was causing the SYBUNT and LYBUNT reports to not show. I fixed it by reading the year a different way...which I suppose is a fine solution. Apr 20 '17 at 6:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.