English 中文(简体)
Fixing WordPress database wrong Duplicate entry 0 for key PRIMaire for queryINSERT INTO
原标题:Fixing WordPress database error Duplicate entry 0 for key PRIMARY for query INSERT INTO

谈到4.9.5,当我能够简单地利用Errorlog plugin时,我正在行政小组上看到这一错误。

这里我们发现的错误是:

WordPress database error Duplicate entry 0 for key PRIMARY for query INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (14, 2018-04-17 18:24:27 , 0000-00-00 00:00:00 , , , Auto Draft , , auto-draft , post , open , open , , , , , 2018-04-17 18:24:27 , 0000-00-00 00:00:00 , 0, 0, , ) made by wp_dashboard, do_meta_boxes, call_user_func, wp_dashboard_quick_press, get_default_post_to_edit, wp_insert_post

http://blog.sqlauthority.com/2016/09/12/mysql-fix-error-wordpress-database-error-duplicate-enter-key-query-insert-wp_options/“rel=_nofollow noretinger”https://blog.sqlent.com/09/12/mysql-fix-error-word-word-word-word-press-datato-rdu-propte-hr-word-word- 但它没有决心。

作者建议什么可能是错的,以及如何确定。

问题回答

我也有同样的问题,我的网站上有一个网站显示以下错误信息:

WordPress database error: [Duplicate entry 0 for key PRIMARY ] INSERT INTO Umr_actionscheduler_actions (hook, status, scheduled_date_gmt, scheduled_date_local, schedule, group_id, args) VALUES ( wpforms_email_summaries_fetch_info_blocks , pending , 2023-07-02 18:51:31 , 2023-07-02 18:51:31 , O:32:"ActionScheduler_IntervalSchedule":5:{s:22:"*scheduled_timestamp";i:1688323891;s:18:"*first_timestamp";i:1688323891;s:13:"*recurrence";i:604800;s:49:"ActionScheduler_IntervalSchedulestart_timestamp";i:1688323891;s:53:"ActionScheduler_IntervalScheduleinterval_in_seconds";i:604800;} , 2 , {"tasks_meta_id":null} ) Skip to main content

本条帮助我解决这一问题——

www.un.org/spanish/ecosoc 简言之,将自动加固到表的主要位置。

根据错误信息,我宣布“Umr_actionscheduler_actions”为“phpMyAdmin”。 之后,在结构上点击,然后在主要钥匙旁边点击变革——就我而言是“行动”

在AI栏下加印了支票标记,并点击了S Save。 它工作了!

......也许在改变栏目环境之前,你必须改变原封的条目。 如果是的话,你将发出警告,“将造成双重入境”。 查阅ID = 0,将其改为最高ID值+1。





相关问题
SQL SubQuery getting particular column

I noticed that there were some threads with similar questions, and I did look through them but did not really get a convincing answer. Here s my question: The subquery below returns a Table with 3 ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

php return a specific row from query

Is it possible in php to return a specific row of data from a mysql query? None of the fetch statements that I ve found return a 2 dimensional array to access specific rows. I want to be able to ...

Character Encodings in PHP and MySQL

Our website was developed with a meta tag set to... <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> This works fine for M-dashes and special quotes, etc. However, I ...

Pagination Strategies for Complex (slow) Datasets

What are some of the strategies being used for pagination of data sets that involve complex queries? count(*) takes ~1.5 sec so we don t want to hit the DB for every page view. Currently there are ~...

Averaging a total in mySQL

My table looks like person_id | car_id | miles ------------------------------ 1 | 1 | 100 1 | 2 | 200 2 | 3 | 1000 2 | 4 | 500 I need to ...

热门标签