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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Webform submission Undefined index: id in CRM_Core_BAO_Phone::create() error
Pages: [1]

Author Topic: Webform submission Undefined index: id in CRM_Core_BAO_Phone::create() error  (Read 523 times)

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Webform submission Undefined index: id in CRM_Core_BAO_Phone::create() error
September 15, 2012, 07:34:31 am
Submitting a form using webform_civicrm with a phone field produces the following error:

Notice: Undefined index: id in CRM_Core_BAO_Phone::create() (line 51 of [site]/sites/all/modules/civicrm/CRM/Core/BAO/Phone.php).

The contact is successfully created, but the error would freak out users. (And freaks me a bit, too.)

I've seen this now on two sites and am currently suppressing errors on both per http://sivaji.drupalgardens.com/how-prevent-php-notices-logging-watchdog as suggested by Eileen at http://forum.civicrm.org/index.php?topic=25857.new;topicseen#new

This is with 4.2.0 - I can't test with 4.2.1 because the sites are now live - but someone should probably look into this... thanks!

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Webform submission Undefined index: id in CRM_Core_BAO_Phone::create() error
September 19, 2012, 03:24:30 pm
Fixed
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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Webform submission Undefined index: id in CRM_Core_BAO_Phone::create() error

This forum was archived on 2017-11-26.