I recently switched hosts - and I re-uploaded the script to the new host and imported the backed up database.
When I posted a post for the first time I was presented with an error. A post was posted but for some reason it has an ID of 0, and I can't edit it.
When I try to post again 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','_encloseme','1')
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site328/fst/var/www/html/wp-includes/wp-db.php:104) in /home/virtual/site328/fst/var/www/html/wp-includes/pluggable-functions.php on line 272