Answers.Body: <p>that's just a notice - it's annoying - but may not be critical. You can check civicrm JIRA <a href="https://issues.civicrm.org/jira/projects/CRM/issues" rel="nofollow noreferrer">https://issues.civicrm.org/jira/projects/CRM/issues</a> to see if there is an issue for it/report it (if not already). </p>
  
  <p>If this is a live site then it's recommended not to display any errors. On Drupal go here:</p>
  
  <pre><code>admin/config/development/logging
  </code></pre>
  
  <p>and set to None.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-20T06:14:41.863Z
Answers.Text: 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.
Answers.UserDisplayName: Kimberlie Davis
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-19T17:02:47.933Z
Answers.LastActivityDate: 2017-04-19T17:02:47.933Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>I am getting the following error when I try to run the SYBUNT report:</p>
  
  <blockquote>
    <p>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).</p>
  </blockquote>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-04-19T05:57:48.027Z
Comments.Text: What do you get when you try same on one of the CiviCRM Demo sites?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-04-19T11:25:01.220Z
Comments.Text: Thanks for your post. Could you provide more details about your environment? E.g. versions of CiviCRM, Drupal, PHP etc.
Comments.UserDisplayName: William Mortada
Tags: <drupal><pantheon>
Title: Undefined Index error whenI run SYBUNT report
ThreadText: # Undefined Index error whenI run SYBUNT report
  
  (Asked by: username_0 on 2017-04-19)
  
  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).
  
  **Tags:** drupal, pantheon
  
  > **Comments:**
  > **username_1**: What do you get when you try same on one of the CiviCRM Demo sites?  
  > **username_2**: Thanks for your post. Could you provide more details about your environment? E.g. versions of CiviCRM, Drupal, PHP etc.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2017-04-19. Score: 1
  
  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:
  
  ```
  admin/config/development/logging
  
  ```
  
  and set to None.
  
  > **Comments:**
  > **username_0**: 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.  
  
  ---
  
  