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) »
  • Errors in Registration
Pages: [1]

Author Topic: Errors in Registration  (Read 1221 times)

bdanza

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 3
  • CiviCRM version: 3.4.6
  • CMS version: Joomla 1.5, Drupal 6.2x
Errors in Registration
June 20, 2011, 12:26:03 pm
I did a standard install of 4.0.3 on drupal 7 and I am getting all these errors ever time someone registers

Code: [Select]
Notice: Trying to get property of non-object in CRM_Event_Form_Registration_Register->checkRegistration() (line 1249 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Event/Form/Registration/Register.php).
Notice: Trying to get property of non-object in CRM_Event_Form_Registration_Register->checkRegistration() (line 1249 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Event/Form/Registration/Register.php).
Notice: Undefined variable: contactID in CRM_Event_Form_Registration_Register->postProcess() (line 1024 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Event/Form/Registration/Register.php).
Notice: Undefined index: amount_level in CRM_Event_Form_Registration->addParticipant() (line 865 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Event/Form/Registration.php).
Notice: Undefined index: 1 in CRM_Activity_BAO_Activity::addActivity() (line 1591 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Activity/BAO/Activity.php).
Notice: Undefined index: amount in CRM_Event_Form_Registration->confirmPostProcess() (line 767 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Event/Form/Registration.php).
Notice: Trying to get property of non-object in CRM_Event_Form_Registration->confirmPostProcess() (line 769 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Event/Form/Registration.php).
Notice: Undefined variable: registerByID in CRM_Event_Form_Registration_Register->processRegistration() (line 1149 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Event/Form/Registration/Register.php).
Notice: Trying to get property of non-object in CRM_Core_BAO_UFGroup::getValues() (line 878 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
Notice: Trying to get property of non-object in CRM_Core_BAO_UFGroup::getValues() (line 879 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
Notice: Trying to get property of non-object in CRM_Core_BAO_UFGroup::getValues() (line 881 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
Notice: Trying to get property of non-object in CRM_Core_BAO_UFGroup::getValues() (line 878 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
Notice: Trying to get property of non-object in CRM_Core_BAO_UFGroup::getValues() (line 879 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
Notice: Trying to get property of non-object in CRM_Core_BAO_UFGroup::getValues() (line 881 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
Notice: Trying to get property of non-object in CRM_Core_BAO_UFGroup::getValues() (line 878 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
Notice: Trying to get property of non-object in CRM_Core_BAO_UFGroup::getValues() (line 879 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
Notice: Trying to get property of non-object in CRM_Core_BAO_UFGroup::getValues() (line 881 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
Notice: Trying to get property of non-object in CRM_Core_BAO_UFGroup::getValues() (line 878 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
Notice: Trying to get property of non-object in CRM_Core_BAO_UFGroup::getValues() (line 879 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
Notice: Trying to get property of non-object in CRM_Core_BAO_UFGroup::getValues() (line 881 of/home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Errors in Registration
June 20, 2011, 01:20:49 pm
In your CiviCRM Administration -- General Settings -- Drupal Integration page, is the Drupal users table name set correctly?
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.

bdanza

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 3
  • CiviCRM version: 3.4.6
  • CMS version: Joomla 1.5, Drupal 6.2x
Re: Errors in Registration
June 20, 2011, 02:11:38 pm
I tried to rebuild the form and it looks like the error is derived from this,

Code: [Select]
Notice: Undefined index: current_employer in CRM_UF_Form_Field->postProcess() (line 663 of /home/bdanza/public_html/www.site.com/sites/all/modules/civicrm/CRM/UF/Form/Field.php).

Seems like I am getting this problem when I try to add an employer field to a profile

bdanza

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 3
  • CiviCRM version: 3.4.6
  • CMS version: Joomla 1.5, Drupal 6.2x
Re: Errors in Registration
June 20, 2011, 02:16:38 pm
also got this one when creating an event

Code: [Select]
Notice: Undefined index: location_option in CRM_Event_Form_ManageEvent_Location->postProcess() (line 251 of /home/bdanza/public_html/rsvp.thedc.com/sites/all/modules/civicrm/CRM/Event/Form/ManageEvent/Location.php).

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Errors in Registration
June 20, 2011, 03:09:37 pm
http://www.citytree.be/blog/undefined-index-quick-fix-in-drupal7-error-reporting
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

bdanza

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 3
  • CiviCRM version: 3.4.6
  • CMS version: Joomla 1.5, Drupal 6.2x
Re: Errors in Registration
June 20, 2011, 03:13:39 pm
Thanks Eileen,

I actually turned off all error reporting in drupal, because the registrations seemed to be working fine.

In other news, I may need some help from you on a firstdata payment processor issue.

B.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Errors in Registration
June 20, 2011, 03:14:47 pm
First data - I haven't touched that one for a while - why don't you jump on IRC
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

miletus

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: drupal 7
  • MySQL version: 5.1.52
  • PHP version: 5.2.17
Re: Errors in Registration
July 19, 2011, 08:18:03 pm
Hi, I also am getting the error, but mine happens when a new user registers:
Undefined index: 1 in CRM_Activity_BAO_Activity::addActivity() (line 1591 of /home/mydomain/sites/all/modules/civicrm4/CRM/Activity/BAO/Activity.php).

I followed the link above for the update to settings.php but I  wonder, have I just shut off all error messages? 

thanks.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Errors in Registration
July 19, 2011, 08:21:11 pm
THis sort of error is what's called an E-Notice. It warns you of code that is not nice enough. If you write your code to be eNotice compliant then generally an E-Notice will point to a bug. CiviCRM is not yet E-Notice compliant so most E-Notices just point to code that follows out of date conventions
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Errors in Registration

This forum was archived on 2017-11-26.