We are using Webform and the Related Permissions extension to allow parents to register their children for summer camp events. An Existing Contact select widget is included so that parents can select children they have previously registered (which established a permissioned relationship between them).

With "Enforce Permissions" selected on the webform component, the drop down list does not work - no contacts are included in the list, even though the user is logged and has related and permissioned contacts.

When "Enforce Permissions" is de-selected, the drop down list shows the first 500 contacts as expected.

The logs show the following error:

The CiviCRM "contact get" API returned the error: "DB Error: unknown error" when called by function "_webform_render_civicrm_contact" on line 387 of contact_component.inc with parameters: "Array ( [is_deleted] => 0 [contact_type] => Individual [check_permissions] => 1 [rowCount] => 500 [sort] => sort_name [version] => 3 ) "

Drupal 7.50 Civi 4.7.11 Webform 7.x-4.14 Related Permissions Extension 1.2 (with latest codebase installed a couple of weeks ago)

Any ideas appreciated!

1 Answer 1


According to here this has been fixed with this patch

  • Yes.. we paid for Agileware to develop this patch. However there is still a similar issue when the "Lock Fields" option is selected for the Existing Contact using the webform. Not sure if you can look into that.
    – Phil Hart
    Oct 16, 2016 at 7:07
  • "Not sure if you can look into that". me?
    – petednz - fuzion
    Oct 16, 2016 at 9:12
  • 1
    this post helped to discover that the relation permission module is necessary for webform and was uninstalled on our instance. thanks for posting this issue ;-) Jan 16, 2023 at 16:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.