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 CiviEvent (Moderator: Yashodha Chaku) »
  • Event registration error when creating Drupal account
Pages: [1]

Author Topic: Event registration error when creating Drupal account  (Read 529 times)

leupi

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 2
Event registration error when creating Drupal account
November 11, 2014, 10:54:57 am
I have a CiviCRM event registration form that requires you already have a Drupal account or if not, the registration process will create one for you. If one does not have a Drupal account (it doesn't seem to matter if there's an existing CiviCRM account or not) and you fill out the form you will get the following error message:
Notice: Undefined index: programmed_bypass_access_check in _form_builder_handle_input_element() (line 1999 of /var/www/html/*example*/includes/form.inc)
I found that a Drupal account is created, if there is not already a CiviCRM contact one will be created, and the registration is successful, however, the error shows up regardless.
 
I'm running Drupal 7 and CiviCRM 4.4.

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Event registration error when creating Drupal account
November 11, 2014, 03:05:55 pm
This is a warning rather than an error.  As you have observed it does not stop the code from working correctly. 

On a live site you should log the warnings to a file rather than have them display on screen. 

If you were using 4.5 and had the necessary skills I would suggest you log a jira issue and supply a patch, but 4.4 is now the LTS version and I think only security fixes and easily back-ported bug fixes of some significance are being incorporated into it.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Event registration error when creating Drupal account
November 17, 2014, 10:55:18 am
Nice answer Joanne
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Event registration error when creating Drupal account

This forum was archived on 2017-11-26.