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 CiviMember (Moderator: Deepak Srivastava) »
  • Undefined Index error when selecting "no thanks" from Membership list.
Pages: [1]

Author Topic: Undefined Index error when selecting "no thanks" from Membership list.  (Read 747 times)

nocabt

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 1
Undefined Index error when selecting "no thanks" from Membership list.
July 26, 2012, 09:05:12 am
When I create a Contribution page integrated with authorize.net and Membership levels, If I select "no thanks" and add an amount, I get the following error:

Notice: Undefined index: no_thanks in CRM_Contribute_Form_Contribution_Main->postProcess() (line 1224 of /var/www/vhosts/secure.DOMAIN.org/httpsdocs/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution/Main.php).

On the foloiwng page where it asks you to confirm contribution.

Everything appears to still work, though, and a payment does go through to auth.net.  This error does not occur with pay later, nor if you select a membership amount. 

We're running Drupal 7, CiviCRM 4.1, PHP 5.3.8, and it's a fresh install.

Thanks,


Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Undefined Index error when selecting "no thanks" from Membership list.
July 27, 2012, 12:21:05 am
There has been lot of code changes in 4.2 and most likely this is already fixed.

Thanks
Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Undefined Index error when selecting "no thanks" from Membership list.

This forum was archived on 2017-11-26.