I am having a problem on CiviCRM 4.6.7 - I get Network Error - Unable to Reach the Server when attempting to "Change Payment Details". Additionally the email sent out, "Recurring Contribution Notification" contains a link,
https://www.mydomain.com/index.php?q=civicrm/contribute/unsubscribe&reset=1&crid=35&cs=2cca06426fd09762c341ef901c4c54d0_1440702135_inf
And it goes to a blank page
After enabling back-trace/debugging and I right-click and open Change Payment Details in a New Tab, a blank page loads, the error on console says
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Using Paypal Website Payment Pro.
Could this be a permissions issue? Or what?
The links in the email sent out to update / cancel contribution work fine.
Update:
Apache error log entry
[Thu Aug 27 15:25:35 2015] [error] [client 67.189.24.160] PHP Fatal error: Cannot use object of type CRM_Core_Payment_PayPalImpl as array in /srv/www/www.mysite.com/public_html/sites/all/modules/civicrm/CRM/Core/Payment/Form.php on line 220, referer: https://www.mysite.com/civicrm/contact/view?reset=1&cid=4687
Code referenced:
/**
* @param array $paymentProcessor
* @todo it will be necessary to set details that affect it - mostly likely take Country as a param. Should we add generic
* setParams on processor class or just setCountry which we know we need?
*
* @return array
*/
public static function getPaymentFields($paymentProcessor) {
$paymentProcessorObject = CRM_Core_Payment::singleton(($paymentProcessor['is_test'] ? 'test' : 'live'), $paymentProcessor);
return $paymentProcessorObject->getPaymentFormFields();
}
Update two: this is related issue it looks like: Error when updating billing details for admins and contributers
I haven't re-created on demo, because its not set up for recurring contributions AFAIK.