Mostly posting this error in case someone else stumbles across it.

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2' for key 1: INSERT INTO {uc_webform} (nid, webform_nid, submit) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => 2 [:db_insert_placeholder_1] => [:db_insert_placeholder_2] => 0 ) in uc_webform_node_insert() (line 95 of uc_webform.module).

I am getting this when trying to create a new product (not a webform)

Comments

mgifford’s picture

Priority: Normal » Minor
Issue tags: +PDOException

changing priority to minor.

deja711’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

This should not be an issue in 7.x-2.x branch. Note 7.x-1-x branch is not supported and was one of initial (abandoned) attempts for porting this module from Drupal 6.
If this is an issue with 7.x-2.x please reopen the issue.