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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.5 Release Testing »
  • errors with free memberships 4.5.2
Pages: [1]

Author Topic: errors with free memberships 4.5.2  (Read 581 times)

redgar

  • I’m new here
  • *
  • Posts: 26
  • Karma: 2
    • NJ Libertarian Party
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 2.5.27
errors with free memberships 4.5.2
October 15, 2014, 12:51:58 pm
I did the following on http://d45.demo.civicrm.org/

- created a membership type with a price of $0
- created a contribution page using this membership type (execute real time monetary transactions not checked, membership section enabled is checked with this membership type selected)

Then using the "Visit Live Page link" I tried to sign up for a free membership. The confirmation page has errors:

•Notice: Undefined index: pay_later_receipt in CRM_Contribute_Form_Contribution_Main->postProcess() (line 1204 of /srv/buildkit/build/d45/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution/Main.php).
•Notice: Undefined index: pay_later_receipt in CRM_Contribute_Form_Contribution_Confirm->preProcess() (line 269 of /srv/buildkit/build/d45/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution/Confirm.php).

Then I click Continue. I get the thank you page - however more errors:

•Notice: Undefined index: pay_later_receipt in CRM_Contribute_Form_Contribution_Confirm->preProcess() (line 269 of /srv/buildkit/build/d45/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution/Confirm.php).
•Notice: Undefined offset: 1 in CRM_Member_BAO_Membership::postProcessMembership() (line 1285 of /srv/buildkit/build/d45/sites/all/modules/civicrm/CRM/Member/BAO/Membership.php).
•Notice: Undefined index: pay_later_receipt in CRM_Contribute_Form_Contribution_ThankYou->preProcess() (line 73 of /srv/buildkit/build/d45/sites/all/modules/civicrm/CRM/Contribute/Form/Contribution/ThankYou.php).

Then when you go login to the backend a membershp was not created - however a pending (Pay Later) payment of $0 was created. (this is the same problem reported in https://issues.civicrm.org/jira/i#browse/CRM-14968 )

I believe the problem (or a related problem) exists with 4.5.0 on my server however no errors were displayed.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.5 Release Testing »
  • errors with free memberships 4.5.2

This forum was archived on 2017-11-26.