Drupal 6.13, PHP 5.3

When modifying node with trackbacks enabled, the following warning is sent:

user warning: Duplicate entry 'NNN' for key 1 query: INSERT INTO trackback_node(nid, awaiting_cron, can_receive) VALUES(NNN, 0, 1) in /path/to/modules/trackback/trackback.module on line 252.

There were no such error with PHP of lesser versions.

Comments

AlexDusty’s picture

I suffer the same problem:

user warning: Duplicate entry '1059' for key 'PRIMARY' query: INSERT INTO trackback_node(nid, awaiting_cron, can_receive) VALUES(1059, 0, 1) in [...]/all/modules/trackback/trackback.module on line 252

JBstrikesagain’s picture

another me too:

I'm on Drupal 6.20, PHP 5.3.3

I am importing content using the wordpress_import module and I believe it requires the trackback module to import trackback comments. I run into the reported warning when publishing/promoting nodes imported using wordpress_import. (so far that is all I have done).

user warning: Duplicate entry '236' for key 'PRIMARY' query: INSERT INTO trackback_node(nid, awaiting_cron, can_receive) VALUES(236, 1, 0) in /blah/blah/blah/sites/all/modules/trackback/trackback.module on line 252.
elBradford’s picture

I am experiencing this same issue.

Maybe the "awaiting_cron, can_receive" part of the error is significant.