Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/63.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mysql 对于要使用的正确语法,MariaDB服务器版本出现错误的原因是什么_Mysql_Performance_Select_Mariadb - Fatal编程技术网

Mysql 对于要使用的正确语法,MariaDB服务器版本出现错误的原因是什么

Mysql 对于要使用的正确语法,MariaDB服务器版本出现错误的原因是什么,mysql,performance,select,mariadb,Mysql,Performance,Select,Mariadb,我使用最新版本的wordpress,在保存帖子、管理会话结束并从仪表板自动注销后,无法再次登录 显示以下错误的错误日志: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') ORDER BY menu_order ASC' at line 3 SELECT ID FROM

我使用最新版本的wordpress,在保存帖子、管理会话结束并从仪表板自动注销后,无法再次登录

显示以下错误的错误日志:

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')
ORDER BY menu_order ASC' at line 3 SELECT ID FROM wp_posts
                    WHERE post_type = 'attachment'
                    AND ID in ()
                    ORDER BY menu_order ASC quire('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/goodnews/single.php'), mom_single_post_content, mom_single_post_format 
请告知

谢谢

问题是 身份证
您必须指定要选择的ID值,并将它们写入用逗号分隔的括号中。否则,如果不必对ID值进行筛选,请从WHERE中删除ID。

此问题在wordprss库中出现,应该是编辑代码!?我不知道wordpress是如何工作的,对不起…我只是在查询中注释了错误消息,该查询无法工作。如果是这样的话,我也不想出轨。