Skip to content

TypeError: CRM_Core_Payment_OmnipayMultiProcessor::doPayment(): Return value must be of type array, none returned #289

@magnolia61

Description

@magnolia61

Hello,
I saw this error in our logs

TypeError: CRM_Core_Payment_OmnipayMultiProcessor::doPayment(): Return value must be of type array, none returned in CRM_Core_Payment_OmnipayMultiProcessor->doPayment() (line 252 of /var/www/vhosts/xyz/web/sites/all/modules/civicrm_extensions/nz.co.fuzion.omnipaymultiprocessor/CRM/Core/Payment/OmnipayMultiProcessor.php).

Could that be solved by adding

return [];

to
/CRM/Core/Payment/OmnipayMultiProcessor.php
on line 242?
(after the $response->redirect();)

so that at least something is returned?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions