Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
AlexDusty CreditAttribution: AlexDusty commentedI 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
Comment #2
JBstrikesagain CreditAttribution: JBstrikesagain commentedanother 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).
Comment #3
elBradford CreditAttribution: elBradford commentedI am experiencing this same issue.
Maybe the "awaiting_cron, can_receive" part of the error is significant.