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?

1 Answer 1


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.

  • YES, that was it. THANK YOU!! Commented Sep 15, 2023 at 14:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.