EfendiBey adlı üyeden alıntı: mesajı görüntüle
1- YEDEK ALIN

2- Aşağıdaki sorguyu çalıştırın:

ALTER TABLE thread AUTO_INCREMENT = 1
Yine olmazsa, ardından şu sorguyu çalıştırın:

ALTER TABLE post AUTO_INCREMENT = 1
Şimdi diğerlerini tekrar deneyin.
Denedim hocam önce ilk sorguyu ekledim ve ardından aldakini denedim aynı hata diğerinide ekledim gene aynı


INSERT INTO thread (threadid, title, forumid, open, postuserid, dateline, visible)
   SELECT ID, post_title, 2, 1, (SELECT userid FROM user WHERE importuserid = wp_posts.post_author AND wp_posts.post_author > 0), UNIX_TIMESTAMP(post_date), 1
   FROM wp_posts
   WHERE post_type = 'post';
 
INSERT INTO post (postid, threadid, username, userid, dateline, pagetext, visible)
   SELECT comment_ID, comment_post_ID, comment_author, (SELECT userid FROM user WHERE importuserid = wp_comments.user_id AND wp_comments.user_id > 0), UNIX_TIMESTAMP(comment_date), comment_content, 1
   FROM wp_comments;
 
INSERT INTO post (threadid, username, userid, dateline, pagetext, visible)
   SELECT ID, '', (SELECT userid FROM user WHERE importuserid = wp_posts.post_author AND wp_posts.post_author > 0), UNIX_TIMESTAMP(post_date), post_content, 1
   FROM wp_posts
   WHERE post_type = 'post';
hata kodu aynı değişmemiş : https://prnt.sc/fR0RmLLTgtWz