WordPress database error: [Duplicate entry ‘0’ for key 1]
-
Hi, I recently moved my wp from one location to another and now I can’t seem to make new posts without manually going into phpMyAdmin and editing things to make my post appear properly and all that.
I get this error:
WordPress database error: [Duplicate entry ‘0’ for key 1]
INSERT INTO wp_postmeta (post_id,meta_key,meta_value) VALUES (‘0′,’_pingme’,’1′)WordPress database error: [Duplicate entry ‘0’ for key 1]
INSERT INTO wp_postmeta (post_id,meta_key,meta_value) VALUES (‘0′,’_encloseme’,’1′)Warning: Cannot modify header information – headers already sent by (output started at /home/reds7725/public_html/wp-includes/wp-db.php:102) in /home/reds7725/public_html/wp-admin/post.php on line 60
I went from mysql 4.1.18 down to 4.0.25, which could be the problem but I don’t think it is because when I exported the mysql, I selected the option to make it compatible with the older version (and so when I imported the file into the old mysql it was fine and came up with no errors).
Any help would be much appreciated, thanks.
- The topic ‘WordPress database error: [Duplicate entry ‘0’ for key 1]’ is closed to new replies.