Body: <p>I have a contribution page that's used to solicit in-kind donations. On the Amounts tab, <strong>Execute real-time monetary transactions</strong> is disabled, no Price Set is selected, but the <strong>Allow other amounts</strong> box is checked.</p>
  
  <p>On attempting to submit this form, I get this notice:</p>
  
  <p>messageNotice: Undefined variable: contribution in CRM_Contribute_BAO_Contribution_Utils::processConfirm() (line 378 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contribute/BAO/Contribution/Utils.php).</p>
  
  <p>And no contribution is saved. This behavior is replicable on the 4.6 sandbox (<a href="http://d46.demo.civicrm.org" rel="nofollow noreferrer">http://d46.demo.civicrm.org</a>).</p>
  
  <p>Regarding the error message, $contribution is not set because $form->_contributeMode is null.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-02-01T19:55:06.030Z
Comments.Text: what page on demo?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-02-01T20:05:58.643Z
Comments.Text: d46.demo.civicrm.org/civicrm/contribute/transact?reset=1&id=4
Comments.UserDisplayName: Derek Adams
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-02-01T20:25:04.880Z
Comments.Text: interesting. read lots of old threads on forum about this. sounds like it isn't widely used and perhaps some 'fix' has been done that has rendered this non-functioning. See what others say but it may need to be put through as a bug to JIRA. may be worth trying to replicate on dmaster.demo.... too
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-02-01T20:33:53.737Z
Comments.Text: "read" == "caused me to read", it wasn't meant to sound as if it was an instruction to you to do that reading.
Comments.UserDisplayName: petednz - fuzion
Tags: <contribution-page>
Title: Critical - contributions pages w/o monetary transactions or price sets don't save contributions but show confirmation page
ThreadText: # Critical - contributions pages w/o monetary transactions or price sets don't save contributions but show confirmation page
  
  (Asked by: username_0 on 2017-02-01)
  
  I have a contribution page that's used to solicit in-kind donations. On the Amounts tab, **Execute real-time monetary transactions** is disabled, no Price Set is selected, but the **Allow other amounts** box is checked.
  
  On attempting to submit this form, I get this notice:
  
  messageNotice: Undefined variable: contribution in CRM\_Contribute\_BAO\_Contribution\_Utils::processConfirm() (line 378 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contribute/BAO/Contribution/Utils.php).
  
  And no contribution is saved. This behavior is replicable on the 4.6 sandbox (<http://d46.demo.civicrm.org>).
  
  Regarding the error message, $contribution is not set because $form->\_contributeMode is null.
  
  **Tags:** contribution-page
  
  > **Comments:**
  > **username_1**: what page on demo?  
  > **username_0**: d46.demo.civicrm.org/civicrm/contribute/transact?reset=1&id=4  
  > **username_1**: interesting. read lots of old threads on forum about this. sounds like it isn't widely used and perhaps some 'fix' has been done that has rendered this non-functioning. See what others say but it may need to be put through as a bug to JIRA. may be worth trying to replicate on dmaster.demo.... too  
  > **username_1**: "read" == "caused me to read", it wasn't meant to sound as if it was an instruction to you to do that reading.  
  
  ---
  
  ## 0 answers
  
  