Answers.Body: <p>The answer and patch at <a href="https://civicrm.stackexchange.com/questions/26812/error-with-civivolunteer-after-upgrading-to-php-7-1">Error with CiviVolunteer after upgrading to PHP 7.1</a> did have the answer after all. Thanks, Jon, for causing me to take a second look at that!</p>
  
  <p>On our WordPress installation, the file is located here:</p>
  
  <pre><code>/public_html/wp-content/uploads/civicrm/ext/org.civicrm.volunteer/CRM/Volunteer/Permission.php
  </code></pre>
  
  <p>The patch required changing two lines: the class declaration at the top of the file and the return value of the check function.</p>
  
  <p>I still don't know what it was reporting an error on line zero, but all's well. And I hope that CiviVolunteer gets an update soon that applies the patch! Kudos to Tim Otten for creating the patch.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-26T18:52:34.733Z
Answers.LastActivityDate: 2019-12-26T18:52:34.733Z
Answers.UserDisplayName: RiverRunner
Body: <p>We are getting this error in CiviCRM:</p>
  
  <pre><code>Warning: Declaration of CRM_Volunteer_Permission::check($permissions) should be compatible with CRM_Core_Permission::check($permissions, $contactId = NULL) in /home/thefolks/public_html/wp-content/uploads/civicrm/ext/org.civicrm.volunteer/CRM/Volunteer/Permission.php on line 0
  </code></pre>
  
  <p>We are running CiviCRM on Wordpress:</p>
  
  <ul>
  <li>Wordpress version 5.3.2</li>
  <li>CiviCRM version 5.20.2</li>
  <li>CiviVolunteer version 4.7.31-2.3.1</li>
  </ul>
  
  <p>So everything is up to date. We have these extensions installed, which System Status says are all up to date:</p>
  
  <ul>
  <li>iATS Payments (com.iatspayments.civicrm) version 1.7.0</li>
  <li>Data Processor (dataprocessor) version 1.0.9</li>
  <li>Summary Fields (net.ourpowerbase.sumfields) version 4.0.2</li>
  <li>Angular Profiles (org.civicrm.angularprofiles) version 4.7.31-1.1.2</li>
  <li>CiviTutorial (org.civicrm.tutorial) version 1.1</li>
  </ul>
  
  <p>Seems weird that the error is occurring on line 0 of Permission.php. Surely CiviVolunteer isn't incompatible with CiviCRM Core, as the error seems to imply???</p>
  
  <p>Thanks!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-26T05:44:44.727Z
Comments.Text: Thanks, Jon. I'd seen that question. But since it is well over a year old, and references a PR that would probably be merged in the "next release", figured that the change had long since been merged. But now I see that the last CiviVolunteer release was the middle of 2018 (which concerns me, but that's a separate issue), months before the date of that question. Guess I'll try to figure out how to apply that patch and see what happens.
Comments.UserDisplayName: RiverRunner
Tags: <permissions><civivolunteer>
Title: Any Known Incompatibilities with CiviVolunteer and Other Extensions?
ThreadText: # Any Known Incompatibilities with CiviVolunteer and Other Extensions?
  
  (Asked by: username_0 on 2019-12-22)
  
  We are getting this error in CiviCRM:
  Warning: Declaration of CRM_Volunteer_Permission::check($permissions) should be compatible with CRM_Core_Permission::check($permissions, $contactId = NULL) in /home/thefolks/public_html/wp-content/uploads/civicrm/ext/org.civicrm.volunteer/CRM/Volunteer/Permission.php on line 0
  
  We are running CiviCRM on Wordpress:
  
  Wordpress version 5.3.2
  CiviCRM version 5.20.2
  CiviVolunteer version 4.7.31-2.3.1
  
  So everything is up to date. We have these extensions installed, which System Status says are all up to date:
  
  iATS Payments (com.iatspayments.civicrm) version 1.7.0
  Data Processor (dataprocessor) version 1.0.9
  Summary Fields (net.ourpowerbase.sumfields) version 4.0.2
  Angular Profiles (org.civicrm.angularprofiles) version 4.7.31-1.1.2
  CiviTutorial (org.civicrm.tutorial) version 1.1
  
  Seems weird that the error is occurring on line 0 of Permission.php. Surely CiviVolunteer isn't incompatible with CiviCRM Core, as the error seems to imply???
  Thanks!
  
  **Tags:** permissions, civivolunteer
  
  > **Comments:**
  > **username_0**: Thanks, Jon. I'd seen that question. But since it is well over a year old, and references a PR that would probably be merged in the "next release", figured that the change had long since been merged. But now I see that the last CiviVolunteer release was the middle of 2018 (which concerns me, but that's a separate issue), months before the date of that question. Guess I'll try to figure out how to apply that patch and see what happens.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2019-12-26. Score: 0
  
  The answer and patch at Error with CiviVolunteer after upgrading to PHP 7.1 did have the answer after all. Thanks, Jon, for causing me to take a second look at that!
  On our WordPress installation, the file is located here:
  /public_html/wp-content/uploads/civicrm/ext/org.civicrm.volunteer/CRM/Volunteer/Permission.php
  
  The patch required changing two lines: the class declaration at the top of the file and the return value of the check function.
  I still don't know what it was reporting an error on line zero, but all's well. And I hope that CiviVolunteer gets an update soon that applies the patch! Kudos to Tim Otten for creating the patch.
  
  
  ---
  
  