I'm getting this error in my logs after trying to edit an existing node:

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '186138' for key 'PRIMARY': INSERT INTO {opengraph_meta} (nid, title, description, image, type, optional) 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); Array ( [:db_insert_placeholder_0] => 186138 [:db_insert_placeholder_1] => [:db_insert_placeholder_2] => [:db_insert_placeholder_3] => [:db_insert_placeholder_4] => [:db_insert_placeholder_5] => a:0:{} ) in drupal_write_record() (line 7194 of /var/www/html/includes/common.inc).

If I uninstall the module editing is fine.

Can't quite work this one out.

Comments

GaxZE’s picture

Issue summary: View changes
GaxZE’s picture

Issue summary: View changes
harshil.maradiya’s picture

Hello GaxZE,
Would you please mention exact steps to reproduce this issue as per your first comment i have already tried to edit the node but some how i am not able to reproduce this issue

If you provide me details steps to reproduce this issue it will be great help

Thanks
Harshil Maradiya