When ever i try to create new content on my site the site creashes and I get this string of errors

Notice: Undefined property: stdClass::$taxonomy in kwresearch_node_insert() (line 898 of /sites/all/modules/kwresearch/kwresearch.module).
Notice: Undefined offset: 1 in kwresearch_node_insert() (line 905 of /sites/all/modules/kwresearch/kwresearch.module).
Notice: Undefined variable: page_keyword_obj in kwresearch_node_insert() (line 911 of /sites/all/modules/kwresearch/kwresearch.module).
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '70' 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] => 70 [:db_insert_placeholder_1] => 71 [:db_insert_placeholder_2] => article [:db_insert_placeholder_3] => und [:db_insert_placeholder_4] => testinf [:db_insert_placeholder_5] => 1 [:db_insert_placeholder_6] => 1 [:db_insert_placeholder_7] => 1327613450 [:db_insert_placeholder_8] => 1327613450 [:db_insert_placeholder_9] => 0 [: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 6888 of /includes/common.inc).
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chubbell’s picture

Status: Active » Closed (fixed)
longpt’s picture

How do you fix this. I have same problem

kettultim’s picture

Status: Closed (fixed) » Active

There is no fix for this posted. This error happens everytime a new node is saved.

noizo’s picture

Version: 7.x-1.0-alpha3 » 7.x-1.x-dev

Same here!

Only after disabling all options in module, i was able to add translate node

noizo’s picture

itaine’s picture

Is this module still supported? True show stopper. Has anyone found a workaround?

edit: I narrowed it down to the Taxonomy Settings.
Make sure you have the following two options:

PAGE KEYWORD SYNC VOCABULARY & PAGE KEYWORD TAG VOCABULARY

...set to NONE.

trong.nguyen.tcec’s picture

Title: Will Not Allow Creating new Content on site » pdoexception: sqlstate[23000]: integrity constraint violation: 1062 duplicate entry for key 'primary': insert into {node}
Version: 7.x-1.x-dev » 7.x-1.0-alpha3
FileSize
18.2 KB

The error is "pdoexception: sqlstate[23000]: integrity constraint violation: 1062 duplicate entry for key 'primary': insert into {node}....' when using kwresearch module. User cannot add any new content (article, page, node...).
You are right Itanie, USER SHOULD SET TO "NONE" at "Taxonomy settings" PART : "Page keyword sync vocabulary ". Path for Ediiting: "admin/config/search/kwresearch"
Thanks to Itanie, i try to rewirte error status to help other users find and resolve issue easily.

lsolesen’s picture

Status: Active » Postponed (maintainer needs more info)

@memberall Could you confirm this bug with the latest dev? Should anything be fixed in this issue?