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) »
  • Error when submitting error registration form
Pages: [1]

Author Topic: Error when submitting error registration form  (Read 431 times)

leupi

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 2
Error when submitting error registration form
November 14, 2014, 09:14:49 am
I’ve created an event with CiviCRM 4.4 running in Drupal 7 and whenever a user submits the form the following error shows:

Notice: Undefined index: programmed_bypass_access_check in _form_builder_handle_input_element() (line 1999 of/var/www/html/*example*/includes/form.inc).

In researching this it seems to happen when there is not a connected registered Drupal account and CiviCRM contact. I have the form set to create a Drupal account if the user does not already have one. The account is created, as is a CiviCRM contact (or if there is an existing contact it’s updated). The user is also registered for the event so it seems the form is working it’s just throwing this error message upon submission.

This seems to be a bug in 4.4 that has been corrected in 4.5. I tried upgrading to 4.5 but the upgrade did not go well and I’ll need to research that before trying again. Unfortunately I need to get this registration out before I’ll have a chance to do the upgrade. Is there any kind of work around I could do while still on 4.4? Just suppressing this message would probably work as the form seems to be working other than throwing the error message.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Error when submitting error registration form
November 16, 2014, 06:11:13 am
Adjust your php.ini to not display warnings, that should be sufficient.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

leupi

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 2
Re: Error when submitting error registration form
November 17, 2014, 06:42:58 am
I'll take a look at that.

Am I correct though that this is caused by a bug in 4.4 that an upgrade to 4.5 will correct? Thanks so much for your input.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Error when submitting error registration form
November 17, 2014, 07:21:27 am
I am not certain.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

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

This forum was archived on 2017-11-26.