Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis forum was archived on 25 November 2017. Learn more.How to get involved.What to do if you think you've found a bug.
self::$_singleton = eval( 'return ' . $paymentClass . '::singleton( $mode, $paymentProcessor );' );self::$_singleton->setForm( $form );
protected $_form; function setForm( &$form ) { $this->_form =& $form; } function &getForm( ) { return $this->_form; }
patching file CRM/Event/Form/Registration.phpHunk #1 succeeded at 251 (offset -91 lines).patching file CRM/Event/Form/Participant.phpHunk #1 succeeded at 194 (offset -7 lines).Hunk #2 succeeded at 867 (offset -58 lines).patching file CRM/Event/Form/Registration/Confirm.phpHunk #2 succeeded at 454 (offset -20 lines).patching file CRM/Event/Form/Registration/Register.phpHunk #1 succeeded at 423 (offset -142 lines).Hunk #2 succeeded at 587 (offset -172 lines).patching file CRM/Utils/Hook.phpReversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch.1 out of 1 hunk ignored -- saving rejects to file CRM/Utils/Hook.php.rejpatching file CRM/Core/Payment.phpHunk #1 succeeded at 54 (offset -12 lines).Hunk #2 succeeded at 65 (offset -12 lines).patching file CRM/Core/Payment/Dummy.phpHunk #1 succeeded at 50 (offset -1 lines).patching file CRM/Core/Payment/PayPalImpl.phpHunk #1 succeeded at 213 (offset -3 lines).patching file CRM/Core/Payment/Moneris.phpHunk #1 FAILED at 105.1 out of 1 hunk FAILED -- saving rejects to file CRM/Core/Payment/Moneris.php.rejpatching file CRM/Core/Payment/AuthorizeNet.phpHunk #1 succeeded at 79 with fuzz 2 (offset -1 lines).patching file CRM/Core/Payment/BaseIPN.phpHunk #1 succeeded at 641 (offset -7 lines).patching file CRM/Member/BAO/Membership.phpHunk #1 succeeded at 899 with fuzz 1 (offset -46 lines).Hunk #2 succeeded at 993 (offset -50 lines).patching file CRM/Member/Form/MembershipRenewal.phppatching file CRM/Member/Form/Membership.phpHunk #1 succeeded at 91 (offset -4 lines).Hunk #2 succeeded at 692 (offset -74 lines).patching file CRM/Contribute/BAO/Contribution/Utils.phppatching file CRM/Contribute/Form/Contribution/Confirm.phppatching file CRM/Contribute/Form/Contribution/Main.phpHunk #1 succeeded at 871 (offset -33 lines).patching file CRM/Contribute/Form/ContributionBase.phpHunk #1 succeeded at 291 (offset 8 lines).patching file CRM/Contribute/Form/Contribution.phpHunk #1 succeeded at 205 (offset -5 lines).Hunk #2 succeeded at 878 (offset -52 lines).patching file CRM/Contribute/Page/UserDashboard.phpHunk #1 succeeded at 99 (offset 10 lines).patching file drupal/civitest.module.sampleHunk #1 succeeded at 454 (offset -48 lines).
$form = $processor->getForm();if (!is_object($form) or !is_subclass_of('CRM_Core_Form')) { error_log('This form object is not a form object !'); //consider writing the trace to a file as well...}