Details
-
Type: Bug
-
Status: In Quality Assurance
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 4.7.15
-
Fix Version/s: 4.7.24
-
Component/s: CiviContribute
-
Labels:None
-
Versioning Impact:None (no code merged)
-
Documentation Required?:None
-
Funding Source:Needs Funding
-
Verified?:No
Description
Hi there,
I just installed a straight WordPress 4.7.2 install with CiviCRM 4.7.15 on PHP 7.1.
When you go to Contributions => Manage Contribution pages you get a fatal error:
Fatal error: Uncaught Error: Using $this when not in object context in /absolute/path/wp-content/plugins/civicrm/civicrm/CRM/Utils/PagerAToZ.php:154 Stack trace: #0 /absolute/path/wp-content/plugins/civicrm/civicrm/CRM/Utils/PagerAToZ.php(52): CRM_Utils_PagerAToZ::createLinks(Object(CRM_Core_DAO), NULL, true) #1 /absolute/path/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Page/ContributionPage.php(682): CRM_Utils_PagerAToZ::getAToZBar(Object(CRM_Core_DAO), NULL, true) #2 /absolute/path/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Page/ContributionPage.php(422): CRM_Contribute_Page_ContributionPage->pagerAtoZ(1, Array) #3 /absolute/path/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Page/ContributionPage.php(369): CRM_Contribute_Page_ContributionPage->browse() #4 /absolute/path/wp- in /absolute/path/wp-content/plugins/civicrm/civicrm/CRM/Utils/PagerAToZ.php on line 154
When you revert to PHP 7.0 it works fine.