CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • PHP Fatal error: Call to a member function doDirectPayment()
Pages: [1]

Author Topic: PHP Fatal error: Call to a member function doDirectPayment()  (Read 1054 times)

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
PHP Fatal error: Call to a member function doDirectPayment()
September 08, 2012, 08:13:53 pm
I'm running CiviCRM 4.2 on Joomla 2.5.

I'm using CIVIContribute and CiviEvents. When users (only those using Internet Explorer) submit a form (contribute or event) that redirects to Paypal for payment, they get a CRM-001 or HTTP 500 Error. Again, this happens ONLY with Internet explorer. 

The Server error logs show the following when this happens:


Code: [Select]
[Sat Sep 08 18:17:52 2012] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  Call-time pass-by-reference has been deprecated in .../administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/Main.php on line 1200, referer: .../index.php?option=com_civicrm&task=civicrm/contribute/transact&Itemid=108&reset=1&id=1

[Sat Sep 08 18:18:12 2012] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  Call-time pass-by-reference has been deprecated in .../administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/Main.php on line 1200, referer: .../index.php?option=com_civicrm&task=civicrm/contribute/transact&Itemid=108&_qf_Confirm_display=true&qfKey=91d5aa6f042c36c1462e214ac1521d36_7903

[Sat Sep 08 18:18:29 2012] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  Invalid argument supplied for foreach() in .../administrator/components/com_civicrm/civicrm/CRM/Event/Form/Registration/Register.php on line 887, referer: .../revolution-of-values

[Sat Sep 08 18:18:34 2012] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Fatal error:  Call to a member function doDirectPayment() on a non-object in .../administrator/components/com_civicrm/civicrm/CRM/Event/Form/Registration/Confirm.php on line 588, referer: .../index.php?option=com_civicrm&task=civicrm/event/register&Itemid=117&_qf_Confirm_display=true&qfKey=17507b1d96a713e20a4ca8e5277348de_7316

[Sat Sep 08 18:18:47 2012] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  Invalid argument supplied for foreach() in .../administrator/components/com_civicrm/civicrm/CRM/Event/Form/Registration/Register.php on line 255, referer: .../revolution-of-values

[Sat Sep 08 18:18:56 2012] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  Invalid argument supplied for foreach() in .../administrator/components/com_civicrm/civicrm/CRM/Event/Form/Registration/Register.php on line 887, referer: .../revolution-of-values

[Sat Sep 08 18:19:08 2012] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Warning:  Invalid argument supplied for foreach() in .../administrator/components/com_civicrm/civicrm/CRM/Event/Form/Registration/Register.php on line 255, referer: .../index.php?option=com_civicrm&task=civicrm/event/register&Itemid=117&_qf_Register_display=1&cancel=1&qfKey=8af6a70c5464d32c3c051a0e678fb594_3644

Any clues?  I have sites running Joomla 2.5 and CiviCRM 4.1.x and can't seem to replicate this same problem.

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: PHP Fatal error: Call to a member function doDirectPayment()
September 09, 2012, 05:33:13 am
My guess here is that there is some sort of HTML issue with the submit form or some javascript issue that other browsers are willing to overlook, but IE does not.  I can't seem to find it yet.

Plan B will be to downgrade to 4.1.x if I can't get this resolved.

Laryn

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 4
    • CEDC
  • CiviCRM version: 4.6.x
  • CMS version: Drupal 7
Re: PHP Fatal error: Call to a member function doDirectPayment()
October 03, 2012, 08:56:30 am
What version of PHP are you running on this server?
CEDC...social justice by design

*Get support on the new CiviCRM help site. /laryn

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: PHP Fatal error: Call to a member function doDirectPayment()
October 03, 2012, 09:38:54 am
I'm using 5.2.17

I've have since downgraded to CIVICRM 4.1.6 and problem has gone away.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • PHP Fatal error: Call to a member function doDirectPayment()

This forum was archived on 2017-11-26.