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.
I created an event with start/end date but no times for a custom content type and I got an error:
warning: pg_query() [function.pg-query]: Query failed: ERROR: duplicate key violates unique constraint "event_pkey" in /var/www/sites/pm/includes/database.pgsql.inc on line 139.
user warning: query: INSERT INTO event (nid, event_start, event_end, timezone, start_in_dst, end_in_dst, has_time, has_end_date) VALUES (73, '2009-06-26 8:53:00', '2009-06-29 8:53:00', 116, 0, 0, 0, 1) in /var/www/sites/pm/sites/all/modules/event/event.module on line 2378.
Comments
Comment #1
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedI need some pgsql guy to tell me what's wrong here.
Comment #2
japerryEvent for Drupal 8 is unrelated to older versions. If an issue similar to this one exists, please open a new issue with the 8.x branch.