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 Drupal Modules (Moderator: Donald Lobo) »
  • Existing User set to Current User for webform contact 1 - Can this be changed?
Pages: [1]

Author Topic: Existing User set to Current User for webform contact 1 - Can this be changed?  (Read 1182 times)

Martin Fuggle

  • I post frequently
  • ***
  • Posts: 172
  • Karma: 3
    • Travel and Photography
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 6.x and 7.x
  • MySQL version: 5.1.36-cll
  • PHP version: 5.3.6
Existing User set to Current User for webform contact 1 - Can this be changed?
December 10, 2013, 05:58:48 pm
I have a webform that contains 5 contacts. Contact 1 has Existing Contact checked and it automatically appears to set that to Current User. I want to change that setting to be able to select or create a new user (as it is on all other contacts). If I try to edit this field I get an error as follows:

Fatal error: Unsupported operand types in ~/sites/all/modules/webform_civicrm/includes/contact_component.inc on line 257

I am not sure whether I would be able to change contact 1 as required if I could actually edit it.

Any help would be appreciated.

Cheers
Martin Fuggle

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Existing User set to Current User for webform contact 1 - Can this be changed?
December 10, 2013, 08:18:27 pm
That's a strange error. What versions of CiviCRM, Webform, and Webform-CiviCRM are you using?
Try asking your question on the new CiviCRM help site.

Martin Fuggle

  • I post frequently
  • ***
  • Posts: 172
  • Karma: 3
    • Travel and Photography
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 6.x and 7.x
  • MySQL version: 5.1.36-cll
  • PHP version: 5.3.6
Re: Existing User set to Current User for webform contact 1 - Can this be changed?
December 10, 2013, 08:26:30 pm
I'm using CiviCRM 4.4.3, Drupal 7.24, Webform CiviCRM Integration 7.x-4.3 and Webform 7.x-4.0-beta1. I'm using the beta version of Webform since I got an incompatibility error when I tried to activate the CiviCRM Webform Integration module (from memory).

I am also having another issue. Before I used the Existing Contact check box the fields sets on the form would collapse and expand. Now that I have the Existing Contact checkbox set the field sets no longer collapse and expand.

Cheers
Martin Fuggle

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Existing User set to Current User for webform contact 1 - Can this be changed?
December 10, 2013, 08:35:33 pm
Please check in your browser console for errors.
Also check the drupal watchdog logs for anything relavent.
Try asking your question on the new CiviCRM help site.

Martin Fuggle

  • I post frequently
  • ***
  • Posts: 172
  • Karma: 3
    • Travel and Photography
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 6.x and 7.x
  • MySQL version: 5.1.36-cll
  • PHP version: 5.3.6
Re: Existing User set to Current User for webform contact 1 - Can this be changed?
December 10, 2013, 08:44:34 pm
When I click the edit button on the Existing Contact I get the error previously mentioned and nothing shows in the Javascript console. However when I hit the back button on the browser I see what's shown in the attached image.

Cheers
Martin Fuggle

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Existing User set to Current User for webform contact 1 - Can this be changed?
December 10, 2013, 08:47:36 pm
OK now we're getting somewhere.
Please turn on debug and backtrace in your CiviCRM admin settings. Try that edit form again and it should give you something interesting.
Try asking your question on the new CiviCRM help site.

Martin Fuggle

  • I post frequently
  • ***
  • Posts: 172
  • Karma: 3
    • Travel and Photography
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 6.x and 7.x
  • MySQL version: 5.1.36-cll
  • PHP version: 5.3.6
Re: Existing User set to Current User for webform contact 1 - Can this be changed?
December 10, 2013, 08:52:14 pm
I've set backtrace in CiviCRM. Where should I see the backtrace when the error occurs? I have to go out in a few moments but am keen to provide whatever I can to help. Let me know where to locate the backtrace file and I can send it on.

Cheers

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Existing User set to Current User for webform contact 1 - Can this be changed?
December 10, 2013, 08:53:27 pm
You should now see a backtrace on your screen when you try to edit that existing contact field.
Try asking your question on the new CiviCRM help site.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Existing User set to Current User for webform contact 1 - Can this be changed?
December 10, 2013, 08:58:42 pm
Come to think of it, there's a slight chance this has already been fixed in the dev version of webform-civicrm. Can you try that before we proceed further?
Try asking your question on the new CiviCRM help site.

Martin Fuggle

  • I post frequently
  • ***
  • Posts: 172
  • Karma: 3
    • Travel and Photography
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 6.x and 7.x
  • MySQL version: 5.1.36-cll
  • PHP version: 5.3.6
Re: Existing User set to Current User for webform contact 1 - Can this be changed?
December 11, 2013, 12:19:57 am
I've installed the latest dev of webform-civicrm and get the same error...

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Existing User set to Current User for webform contact 1 - Can this be changed?
December 11, 2013, 10:11:51 am
Well it was worth a shot.
If you have debugging, backtrace & logging enabled then you should see a backtrace in your drupal watchdog logs.
Try asking your question on the new CiviCRM help site.

Martin Fuggle

  • I post frequently
  • ***
  • Posts: 172
  • Karma: 3
    • Travel and Photography
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 6.x and 7.x
  • MySQL version: 5.1.36-cll
  • PHP version: 5.3.6
Re: Existing User set to Current User for webform contact 1 - Can this be changed?
December 11, 2013, 02:19:55 pm
No matter what I do I cannot find the backtrace. I have set the appropriate debugging in CiviCRM to show the backtrace. I get no backtrace on screen when the error occurs and there is no backtrace in the Drupal logs or the CiviCRM logs. This seems crazy but I am tearing my hair out just trying to do what should be quite simple. I have read what doco I can find. The files in ConfigAndLog shows that the last backtrace entry is dated 26th November but there is no backtrace showing for today's date.

Is there some other way that I can get some debugging information...
« Last Edit: December 11, 2013, 02:24:21 pm by Martin Fuggle »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Existing User set to Current User for webform contact 1 - Can this be changed?

This forum was archived on 2017-11-26.