Answers.Body: <p>Check that all the new core extensions (at Administer - System Settings - Extensions) are enabled for their corresponding components. e.g. if you have the CiviContribute component enabled, then the civi_contribute extension should also be enabled. If it didn't get enabled during upgrade then the upgrade didn't go properly.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-09-15T14:40:26.137Z
Answers.Text: YES, that was it. THANK YOU!!
Answers.UserDisplayName: Leah Cooper
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-09-15T02:00:33.697Z
Answers.LastActivityDate: 2023-09-15T02:00:33.697Z
Answers.UserDisplayName: Demerit
Body: <p>Various problems with Contribution pages and payment processors since upgrading to CiviCRM 5.65 (from 5.49). In the PHP error log I see:</p>
  <p>PHP Fatal error: Uncaught Error: Class 'Civi\Api4\PaymentProcessor' not found in /home/footprk1/public_html/wp-content/plugins/civicrm/civicrm/CRM/Admin/Page/PaymentProcessor.php:65</p>
  <p>PHP Fatal error: Uncaught Error: Class 'Civi\Api4\ContributionPage' not found in /home/footprk1/public_html/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php:1579</p>
  <p>I'm noticing that these classes seem to have moved from plugins/civicrm/civicrm/Civi/Api4 to plugins/civicrm/civicrm/ext/civi_contribute/Civi/Api4.  Seems like maybe the system is still looking in the old directory for these classes?</p>
  
Tags: <civicontribute><upgrade>
Title: After upgrade to 5.65 PHP fatal error: Missing PaymentProcessor and ContributionPage classes?
ThreadText: # After upgrade to 5.65 PHP fatal error: Missing PaymentProcessor and ContributionPage classes?
  
  (Asked by: username_0 on 2023-09-15)
  
  Various problems with Contribution pages and payment processors since upgrading to CiviCRM 5.65 (from 5.49). In the PHP error log I see:
  
  PHP Fatal error: Uncaught Error: Class 'Civi\Api4\PaymentProcessor' not found in /home/footprk1/public\_html/wp-content/plugins/civicrm/civicrm/CRM/Admin/Page/PaymentProcessor.php:65
  
  PHP Fatal error: Uncaught Error: Class 'Civi\Api4\ContributionPage' not found in /home/footprk1/public\_html/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php:1579
  
  I'm noticing that these classes seem to have moved from plugins/civicrm/civicrm/Civi/Api4 to plugins/civicrm/civicrm/ext/civi\_contribute/Civi/Api4. Seems like maybe the system is still looking in the old directory for these classes?
  
  **Tags:** civicontribute, upgrade
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-09-15. Score: 0 | Accepted answer
  
  Check that all the new core extensions (at Administer - System Settings - Extensions) are enabled for their corresponding components. e.g. if you have the CiviContribute component enabled, then the civi\_contribute extension should also be enabled. If it didn't get enabled during upgrade then the upgrade didn't go properly.
  
  > **Comments:**
  > **username_0**: YES, that was it. THANK YOU!!  
  
  ---
  
  