Answers.Body: <p>CiviVolunteer is not fully tested for 5.x version and might have compatibility issue like you are facing. This issue has been <a href="https://github.com/civicrm/org.civicrm.volunteer/pull/477/files" rel="nofollow noreferrer">fixed</a> and is probably waiting in PR queue for it to get merged in next release.</p>
  
  <p>You can either download the patch from <a href="https://patch-diff.githubusercontent.com/raw/civicrm/org.civicrm.volunteer/pull/477.patch" rel="nofollow noreferrer">here</a> or wait for next release.</p>
  
  <p>HTH</p>
  
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-09T21:35:45.570Z
Answers.Text: Thanks Pradeep - oddly enough CiviVolunteer was not giving any errors under 5.6 until we updated our PHP version to 7.1 from 7.0.
Answers.UserDisplayName: themak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-09T21:39:59.363Z
Answers.Text: Yes, PHP 7 supports strict rules. If you had turned on strict rules for 5.6 you could have encountered same error.
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-09T21:42:17.700Z
Answers.Text: Thanks - I have applied the patch and accepted your answer.
Answers.UserDisplayName: themak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-09T21:46:19.823Z
Answers.Text: Glad my answer worked for you....Cheerz!
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-09T21:28:48.697Z
Answers.LastActivityDate: 2018-10-09T21:28:48.697Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>Via permissions page and system status page. </p>
  
  <pre><code>Warning: Declaration of CRM_Volunteer_Permission::check($permissions) should be compatible with CRM_Core_Permission::check($permissions, $contactId = NULL) in /home/site/public_html/wp-content/uploads/civicrm/ext/org.civicrm.volunteer/CRM/Volunteer/Permission.php on line 0
  </code></pre>
  
  <p>Civi 5.6 Wordpress 4.9.8</p>
  
Tags: <php><civivolunteer>
Title: Error with CiviVolunteer after upgrading to PHP 7.1
ThreadText: # Error with CiviVolunteer after upgrading to PHP 7.1
  
  (Asked by: username_0 on 2018-10-09)
  
  Via permissions page and system status page. 
  Warning: Declaration of CRM_Volunteer_Permission::check($permissions) should be compatible with CRM_Core_Permission::check($permissions, $contactId = NULL) in /home/site/public_html/wp-content/uploads/civicrm/ext/org.civicrm.volunteer/CRM/Volunteer/Permission.php on line 0
  
  Civi 5.6 Wordpress 4.9.8
  
  **Tags:** php, civivolunteer
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-10-09. Score: 2 | Accepted answer
  
  CiviVolunteer is not fully tested for 5.x version and might have compatibility issue like you are facing. This issue has been [fixed](https://github.com/civicrm/org.civicrm.volunteer/pull/477/files) and is probably waiting in PR queue for it to get merged in next release.
  
  You can either download the patch from [here](https://patch-diff.githubusercontent.com/raw/civicrm/org.civicrm.volunteer/pull/477.patch) or wait for next release.
  
  HTH
  
  Pradeep
  
  > **Comments:**
  > **username_0**: Thanks Pradeep - oddly enough CiviVolunteer was not giving any errors under 5.6 until we updated our PHP version to 7.1 from 7.0.  
  > **username_1**: Yes, PHP 7 supports strict rules. If you had turned on strict rules for 5.6 you could have encountered same error.  
  > **username_0**: Thanks - I have applied the patch and accepted your answer.  
  > **username_1**: Glad my answer worked for you....Cheerz!  
  
  ---
  
  