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 CiviContribute (Moderator: Donald Lobo) »
  • Pesky PHP Undefined Index Error Message
Pages: [1]

Author Topic: Pesky PHP Undefined Index Error Message  (Read 3012 times)

erich_prinz

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
Pesky PHP Undefined Index Error Message
March 21, 2009, 09:10:49 am
Here's the message that displays to users upon loading the page:

Notice: Undefined index: email-5 in /persistent/html/joomla/administrator/components/com_civicrm/civicrm/CRM/Contribute/Form/Contribution/Main.php on line 174

The balance of the page loads and performs without issue.

Trolling through the support forums, I did find this notice an issue in the beta of 2.2 and our good moderator recommended turning off any PHP error notices in the php.ini (which has been done in our setup, yet this continues.)

Donors and contributors seeing this message will likely bail out of contributing online as they won't know what to make of this code showing on their contribution page.

This error occurs only when the Honoree section is enabled.
« Last Edit: March 21, 2009, 09:21:17 am by erich_prinz »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Pesky PHP Undefined Index Error Message
March 21, 2009, 11:51:38 am

fixed and will be part of 2.2.1

the patch is ehre:

http://fisheye.civicrm.org/browse/CiviCRM/branches/v2.2/CRM/Contribute/Form/Contribution/Main.php?r1=20340&r2=20380

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

erich_prinz

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
Re: Pesky PHP Undefined Index Error Message
March 21, 2009, 12:53:58 pm
Glad it was a simple fix.

I'll apply the patch and test to validate on this end and will report back.

Erich

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Pesky PHP Undefined Index Error Message
March 21, 2009, 12:57:11 pm
I've seen this error too - it seems to tie in with extra e-mails being created when making payments but I wasn't sure when the extra e-mails got created (i.e. which version of civi I was on when it happened)
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

erich_prinz

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
Re: Pesky PHP Undefined Index Error Message
March 21, 2009, 02:28:27 pm
That got it.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Pesky PHP Undefined Index Error Message

This forum was archived on 2017-11-26.