Visit carnity.org click on any classified ad in second row. Add that car to comparison and it throws this error, but car gets added fine to comparison.
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '3-16' for key 'PRIMARY': INSERT INTO {flag_counts} (fid, content_type, content_id, count) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3); Array ( [:db_insert_placeholder_0] => 3 [:db_insert_placeholder_1] => node [:db_insert_placeholder_2] => 16 [:db_insert_placeholder_3] => 1 ) in flag_flag->_update_count() (line 738 of /home/thehighb/public_html/carnity.org/sites/all/modules/flag/flag.inc).
Same comparison block i am using in car details and car get added fine w/o any issue. I have not even deleted original category of sale and wanted as i know it creates an unresolved bug of expiry date as per my last attempt.
Could you please help in fixing this bug. Thanks in advance.
Comments
Comment #1
fgmFlag counts is a table managed by Flag module, so it appears this is a Flag issue, not a Classified Ads issue: error is in flag/flag.inc.
Moving to Flag issue queue accordingly.
Comment #2
joachim commentedCan you provide debug information?
Comment #2.0
joachim commentedspell check
Comment #3
joachim commentedClosing very old issues that have been missing necessary information for a long time.