Crash on thankyou page when no paymentProcessorObject is set
Since v5.69, I get this error on contribution pages, on "thank you".
PHP Fatal error: Uncaught Error: Call to a member function getText() on null in CRM/Contribute/Form/ContributionBase.php:995
In fact, the diff shows that a previous check has been removed
if ($isMonetary && $this->_paymentProcessor['object'] instanceof \CRM_Core_Payment) {
$paymentProcessorObject = $this->_paymentProcessor['object'];
if ($isMonetary) {
$paymentProcessorObject = $this->getPaymentProcessorObject();
I suggest to implement a new check if($paymentProcessorObject)
In addition, a checkup should be implemented in PaymentProcessorFormTrait.php.