联系官方销售客服
1835022288
028-61286886
PHP文件:
URL地址:搜索页面
2019-11-13 16:39:26 --> mysqli_sql_exception 文件: D:\phpstudy_pro\WWW\www.****.com\dayrui\System\Database\MySQLi\Connection.php 行号: 330 错误: Invalid JSON text in argument 1 to function json_extract: "The document is empty." at position 0. {"html":"<pre><code><span class=\"line\"><span class=\"number\">323<\/span> <\/span><span style=\"color: #c7c7c7\">$this<\/span><span style=\"color: #f1ce61;\">-><\/span><span style=\"color: #c7c7c7\">connID<\/span><span style=\"color: #f1ce61;\">-><\/span><span style=\"color: #c7c7c7\">next_result<\/span><span style=\"color: #f1ce61;\">();\n<span class=\"line\"><span class=\"number\">324<\/span> if (<\/span><span style=\"color: #c7c7c7\">$res <\/span><span style=\"color: #f1ce61;\">= <\/span><span style=\"color: #c7c7c7\">$this<\/span><span style=\"color: #f1ce61;\">-><\/span><span style=\"color: #c7c7c7\">connID<\/span><span style=\"color: #f1ce61;\">-><\/span><span style=\"color: #c7c7c7\">store_result<\/span><span style=\"color: #f1ce61;\">())\n<span class=\"line\"><span class=\"number\">325<\/span> {\n<span class=\"line\"><span class=\"number\">326<\/span> <\/span><span style=\"color: #c7c7c7\">$res<\/span><span style=\"color: #f1ce61;\">-><\/span><span style=\"color: #c7c7c7\">free<\/span><span style=\"color: #f1ce61;\">();\n<span class=\"line\"><span class=\"number\">327<\/span> }\n<span class=\"line\"><span class=\"number\">328<\/span> }\n<span class=\"line\"><span class=\"number\">329<\/span> \n<span class='line highlight'><span class='number'>330<\/span> return $this->connID->query($this->prepQuery($sql));\n<\/span><\/span><span style=\"color: #c7c7c7\"><\/span><span style=\"color: #f1ce61;\"><\/span><span style=\"color: #c7c7c7\"><\/span><span style=\"color: #f1ce61;\"><\/span><span style=\"color: #c7c7c7\"><\/span><span style=\"color: #f1ce61;\"><\/span><span style=\"color: #c7c7c7\"><\/span><span style=\"color: #f1ce61;\"><\/span><span style=\"color: #c7c7c7\"><\/span><span style=\"color: #f1ce61;\"><\/span><span style=\"color: #c7c7c7\"><\/span><span style=\"color: #f1ce61;\"><span class=\"line\"><span class=\"number\">331<\/span> }\n<span class=\"line\"><span class=\"number\">332<\/span> \n<span class=\"line\"><span class=\"number\">333<\/span> <\/span><span style=\"color: #767a7e; font-style: italic\">\/\/--------------------------------------------------------------------\n<span class=\"line\"><span class=\"number\">334<\/span> \n<span class=\"line\"><span class=\"number\">335<\/span> \/**\n<span class=\"line\"><span class=\"number\">336<\/span> * Prep the query\n<span class=\"line\"><span class=\"number\">337<\/span> *\n<\/span><\/code><\/pre>"} 查询: SELECT `dr_1_news`.`id` FROM `dr_1_news` WHERE (`dr_1_news`.`catid` = 6 OR `dr_1_news`.`catids` LIKE "%\"6\"%") AND ( JSON_CONTAINS (`dr_1_news`.`types`->'$[*]', '"3"', '$')) ORDER BY NULL LIMIT 50000 地址: http://www.****.com/search/catid-6-types-3.html 来源: http://www.****.com/jiaodiantu/
好像复选的筛选条件,跟副栏目有冲突,有一条内容设置过副栏目之后,点复选字段 `types` ,就出现系统故障了