when saving a new node with this module enabled it will always throw PDO exception error message
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '468' for key 'PRIMARY': INSERT INTO {node} (nid, vid, type, language, title, uid, status, created, changed, comment, promote, sticky, tnid, translate) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_insert_placeholder_10, :db_insert_placeholder_11, :db_insert_placeholder_12, :db_insert_placeholder_13); Array ( [:db_insert_placeholder_0] => 468 [:db_insert_placeholder_1] => 470 [:db_insert_placeholder_2] => blog [:db_insert_placeholder_3] => und [:db_insert_placeholder_4] => dsadsa [:db_insert_placeholder_5] => 1 [:db_insert_placeholder_6] => 1 [:db_insert_placeholder_7] => 1352882946 [:db_insert_placeholder_8] => 1352882946 [:db_insert_placeholder_9] => 2 [:db_insert_placeholder_10] => 1 [:db_insert_placeholder_11] => 0 [:db_insert_placeholder_12] => 0 [:db_insert_placeholder_13] => 0 ) in drupal_write_record() (line 7106 of D:\UniServer53\www\victheme\includes\common.inc).
Removing the node_save() function on line 932 eliminate the error, but is that the right solution?
Comment | File | Size | Author |
---|---|---|---|
#3 | kwresearch-saving-new-node-broken-pdo-error-1840220-3.patch | 420 bytes | serhiiy |
Comments
Comment #1
lsolesen CreditAttribution: lsolesen commentedCould you test with alpha4?
Comment #2
lsolesen CreditAttribution: lsolesen commentedComment #3
serhiiy CreditAttribution: serhiiy commentedComment #4
serhiiy CreditAttribution: serhiiy commentedComment #5
deanflory CreditAttribution: deanflory commentedI'm getting a similar error here. I'll try that patch and report back as this is preventing me from creating a new Webform node.
Comment #6
deanflory CreditAttribution: deanflory commentedThe patch in #3 did not do anything to alleviate my errors, so it didn't work in my case. Module being uninstalled as it's clear it is dead.
Comment #7
deanflory CreditAttribution: deanflory commentedDisabling SEO Tools, Keyword Research, Keyword Research Google, and Wordstream modules fixed the error that was preventing me from creating a Webform node.