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) »
  • Errors with CiviDiscount and Contributions
Pages: [1]

Author Topic: Errors with CiviDiscount and Contributions  (Read 383 times)

rdr7586

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.3.7
  • CMS version: Drupal 7.24
  • MySQL version: 5.5
  • PHP version: 3.01
Errors with CiviDiscount and Contributions
January 20, 2014, 01:12:01 pm
Hi, I get this error when I finish a contribution page using a discount.

Notice: Undefined index: selectMembership in cividiscount_civicrm_postProcess() (line 557 of E:\Websites\MCWT-2\sites\default\files\civicrm\Extensions\CiviDiscount\org.civicrm.module.cividiscount-2.5\cividiscount.php).

Line 557 is $membership_type = $params['selectmembership'];

Thanks in advance

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Errors with CiviDiscount and Contributions
February 09, 2014, 09:06:51 am
Please understand the difference in PHP between:

1. notice  2. warning and 3. errors

http://stackoverflow.com/a/4624505

CiviCRM is full of notices, I see notices all the time, and sometimes even warnings.  If you post on the forums each time you see a notice, you will surely become tired of posting on the forums so frequently.  I set Drupal to ignore anything but errors or write errors to the log so I do not see them.


Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Errors with CiviDiscount and Contributions

This forum was archived on 2017-11-26.