Answers.Body: <p>Welcome to civicrm stackexhange!</p>
  
  <p>Your first step is to try replicate this on - <a href="http://dmaster.demo.civicrm.org" rel="nofollow noreferrer">http://dmaster.demo.civicrm.org</a></p>
  
  <p>Configure things just like you have in your own civicrm. </p>
  
  <p>And if you find you get the same error then amend your question with details/screenshots so that we can reproduce next.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-11T14:32:40.510Z
Answers.Text: I've just done a quick test on the civi sandbox, but I note that this is running version 4.7.25 - compared to the current recommended version of 4.7.23 which we are running on the site with the issue. This is not comparing like with like - the issue may be related to a bug fixed in 4.7.25.
Answers.UserDisplayName: Jon Pollard
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-11T17:12:52.193Z
Answers.Text: Which is why we test on our current dmaster 
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-14T10:57:32.840Z
Answers.Text: Hi Karin, are you saying that if I test this using the 4.7.25 sandbox version and I don't get the error that this then indicates that the problem is fixed in 4.7.25? If that is the case then should I update my production site to 4.7.25?
Answers.UserDisplayName: Jon Pollard
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-14T14:31:07.203Z
Answers.Text: Oh no - never update production site to the latest - if you dont't get the error on dmaster demo then we know a) something has been fixed or b) it's specific to your instance - that's how we triage bugs - trying to figure out the where and when.
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-14T17:05:28.210Z
Answers.Text: So, my point is that because it's a different version, you don't know whether it's a or b - so not very much better off. I've done another test on a sandbox I set up myself using 4.7.23 and that doesn't give me the error - meaning it must be something to do with that specific installation.
Answers.UserDisplayName: Jon Pollard
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-30T18:07:17.087Z
Answers.Text: I can't reproduce this on the civi sandbox. But I don't now why 'event' is not defined.
Answers.UserDisplayName: olivier
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-10T13:35:09.817Z
Answers.LastActivityDate: 2017-08-10T13:35:09.817Z
Answers.UserDisplayName: KarinG - Semper IT
Answers.Body: <p>I can't reproduce this on the civi sandbox. But I don't now why 'event' is not defined. I have these logs in drupal :
  Référent    <a href="http://xxxx/index.php?q=civicrm/contact/view/participant&amp;reset=1&amp;id=2825&amp;cid=6632&amp;action=update&amp;context=participant&amp;selectedChild=event" rel="nofollow noreferrer">http://xxxx/index.php?q=civicrm/contact/view/participant&amp;reset=1&amp;id=2825&amp;cid=6632&amp;action=update&amp;context=participant&amp;selectedChild=event</a>
  Message Notice : Undefined index: event dans preProcess() (ligne 78 de /xxx/xxx/xxx/sites/all/modules/civicrm/CRM/Core/Payment/ProcessorForm.php).
  As workaround I've just updated line 78 : if (empty($currency) <em>&amp;&amp; !empty($form->_values['event'])</em>) {</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-11T23:08:28.533Z
Answers.Text: updating Jquery (using jQuery Update drupal module) resolve this problem.
Answers.UserDisplayName: olivier
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-30T18:13:42.337Z
Answers.LastActivityDate: 2017-09-30T18:13:42.337Z
Answers.UserDisplayName: olivier
Body: <p>I'm getting an error on submitting events where "pay later" is selected as payment method. The page times out - if I select a different payment method the next page loads OK.</p>
  
  <p>This is the error I'm getting</p>
  
  <blockquote>
    <p>Notice: Undefined index: event in
    CRM_Core_Payment_ProcessorForm::preProcess() (line 78 of
    xxxxxxxx/sites/all/modules/civicrm/CRM/Core/Payment/ProcessorForm.php).</p>
  </blockquote>
  
  <p>Has anybody else experienced this? </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-18T21:41:40.957Z
Comments.Text: I have the same behavior when I try to change "Payment Method". I've a message saying that there is a network problem, form buttons become grayed, and I have the same error message in db logs. I'm running CiviCRM 4.7.24 (updated some days ago). I've not noticed this error before this update.
Comments.UserDisplayName: olivier
Tags: <civievent><paylater>
Title: CiviCRM events pay later error - Undefined index: event
ThreadText: # CiviCRM events pay later error - Undefined index: event
  
  (Asked by: username_0 on 2017-08-10)
  
  I'm getting an error on submitting events where "pay later" is selected as payment method. The page times out - if I select a different payment method the next page loads OK.
  
  This is the error I'm getting
  
  > Notice: Undefined index: event in
  > CRM\_Core\_Payment\_ProcessorForm::preProcess() (line 78 of
  > xxxxxxxx/sites/all/modules/civicrm/CRM/Core/Payment/ProcessorForm.php).
  
  Has anybody else experienced this?
  
  **Tags:** civievent, paylater
  
  > **Comments:**
  > **username_1**: I have the same behavior when I try to change "Payment Method". I've a message saying that there is a network problem, form buttons become grayed, and I have the same error message in db logs. I'm running CiviCRM 4.7.24 (updated some days ago). I've not noticed this error before this update.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2017-08-10. Score: 1
  
  Welcome to civicrm stackexhange!
  
  Your first step is to try replicate this on - <http://dmaster.demo.civicrm.org>
  
  Configure things just like you have in your own civicrm.
  
  And if you find you get the same error then amend your question with details/screenshots so that we can reproduce next.
  
  > **Comments:**
  > **username_0**: I've just done a quick test on the civi sandbox, but I note that this is running version 4.7.25 - compared to the current recommended version of 4.7.23 which we are running on the site with the issue. This is not comparing like with like - the issue may be related to a bug fixed in 4.7.25.  
  > **username_2**: Which is why we test on our current dmaster   
  > **username_0**: Hi Karin, are you saying that if I test this using the 4.7.25 sandbox version and I don't get the error that this then indicates that the problem is fixed in 4.7.25? If that is the case then should I update my production site to 4.7.25?  
  > **username_2**: Oh no - never update production site to the latest - if you dont't get the error on dmaster demo then we know a) something has been fixed or b) it's specific to your instance - that's how we triage bugs - trying to figure out the where and when.  
  > **username_0**: So, my point is that because it's a different version, you don't know whether it's a or b - so not very much better off. I've done another test on a sandbox I set up myself using 4.7.23 and that doesn't give me the error - meaning it must be something to do with that specific installation.  
  > **username_1**: I can't reproduce this on the civi sandbox. But I don't now why 'event' is not defined.  
  
  ---
  
  ### Answer by username_1 on 2017-09-30. Score: 0
  
  I can't reproduce this on the civi sandbox. But I don't now why 'event' is not defined. I have these logs in drupal :
  Référent <http://xxxx/index.php?q=civicrm/contact/view/participant&reset=1&id=2825&cid=6632&action=update&context=participant&selectedChild=event>
  Message Notice : Undefined index: event dans preProcess() (ligne 78 de /xxx/xxx/xxx/sites/all/modules/civicrm/CRM/Core/Payment/ProcessorForm.php).
  As workaround I've just updated line 78 : if (empty($currency) *&& !empty($form->\_values['event'])*) {
  
  > **Comments:**
  > **username_1**: updating Jquery (using jQuery Update drupal module) resolve this problem.  
  
  ---
  
  