Answers.Body: <p>There is already a <a href="https://github.com/veda-consulting/uk.co.vedaconsulting.mailchimp/pull/320/files" rel="nofollow noreferrer">fix</a> submitted for this warning but haven't got merged. But i believe the fix should fix the problem. Can you try after applying patch from <a href="https://patch-diff.githubusercontent.com/raw/veda-consulting/uk.co.vedaconsulting.mailchimp/pull/320.patch" rel="nofollow noreferrer">here</a>?</p>
  
  <p>Cheers</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-20T14:33:38.980Z
Answers.Text: Thanks, that fixed it
Answers.UserDisplayName: Iowa Boy
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-19T08:46:27.917Z
Answers.LastActivityDate: 2019-06-19T08:46:27.917Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>Drupal 7.67
  Civi 5.13.4</p>
  
  <p>I get a PHP warning in my Drupal logs every time I open a report in Civi. The complete warning is 
  Warning: Declaration of CRM_Mailchimp_Permission::check($permissions) should be compatible with CRM_Core_Permission::check($permissions, $contactId = NULL) in require_once() (line 218 of ...modules/civicrm/CRM/Core/ClassLoader.php).</p>
  
  <p>I do not get any php errors with Inspect Console on the report pages.</p>
  
  <p>I looked at the permissions and I have all MailChimp related items checked for my role.</p>
  
  <p>I looked in the CiviCRM View Log and I do not see anything there related to Mailchimp. There is however this log repeatedly. Not sure if it is related.
  warning] Deprecated Path: There is a setting (generate_schema_and_data) not correctly defined. You may see unpredictability due to this. CRM_Core_Setting::setItems</p>
  
  <p>Any ideas what might case this?</p>
  
Tags: <civireport>
Title: PHP warning "Warning: Declaration of CRM_Mailchimp_Permission" logged when open a CiviReport
ThreadText: # PHP warning "Warning: Declaration of CRM_Mailchimp_Permission" logged when open a CiviReport
  
  (Asked by: username_0 on 2019-06-19)
  
  Drupal 7.67
  Civi 5.13.4
  
  I get a PHP warning in my Drupal logs every time I open a report in Civi. The complete warning is
  Warning: Declaration of CRM\_Mailchimp\_Permission::check($permissions) should be compatible with CRM\_Core\_Permission::check($permissions, $contactId = NULL) in require\_once() (line 218 of ...modules/civicrm/CRM/Core/ClassLoader.php).
  
  I do not get any php errors with Inspect Console on the report pages.
  
  I looked at the permissions and I have all MailChimp related items checked for my role.
  
  I looked in the CiviCRM View Log and I do not see anything there related to Mailchimp. There is however this log repeatedly. Not sure if it is related.
  warning] Deprecated Path: There is a setting (generate\_schema\_and\_data) not correctly defined. You may see unpredictability due to this. CRM\_Core\_Setting::setItems
  
  Any ideas what might case this?
  
  **Tags:** civireport
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-06-19. Score: 1 | Accepted answer
  
  There is already a [fix](https://github.com/veda-consulting/uk.co.vedaconsulting.mailchimp/pull/320/files) submitted for this warning but haven't got merged. But i believe the fix should fix the problem. Can you try after applying patch from [here](https://patch-diff.githubusercontent.com/raw/veda-consulting/uk.co.vedaconsulting.mailchimp/pull/320.patch)?
  
  Cheers
  
  Pradeep
  
  > **Comments:**
  > **username_0**: Thanks, that fixed it  
  
  ---
  
  