[0] Exception in Builder.php line 431

查询表达式错误: =

  1. // 解析查询表达式
  2. foreach ($this->parser as $fun => $parse) {
  3. if (in_array($exp, $parse)) {
  4. $whereStr = $this->$fun($query, $key, $exp, $value, $field, $bindType, isset($val[2]) ? $val[2] : 'AND');
  5. break;
  6. }
  7. }
  8. if (!isset($whereStr)) {
  9. throw new Exception('where express error:' . $exp);
  10. }
  11. return $whereStr;
  12. }
  13. /**
  14. * 模糊查询
  15. * @access protected
  16. * @param Query $query 查询对象

Call Stack

  1. in Builder.php line 431
  2. at Builder->parseWhereItem(object(Query), 'color', [' = ', '13'], 'AND', ['id' => 1, 'users_id' => 1, 'goods_type' => 1, ...]) in Builder.php line 353
  3. at Builder->buildWhere(object(Query), ['AND' => [['title|keywords_searc...', 'like', '%求职简历%'], ['status', '=', 1], ['is_delete', '=', 0], ...]]) in Builder.php line 264
  4. at Builder->parseWhere(object(Query), ['AND' => [['title|keywords_searc...', 'like', '%求职简历%'], ['status', '=', 1], ['is_delete', '=', 0], ...]]) in Builder.php line 998
  5. at Builder->select(object(Query)) in Connection.php line 1281
  6. at Connection->value(object(Query), ['COUNT(*) AS tp_count'], 0, false) in Connection.php line 1327
  7. at Connection->aggregate(object(Query), 'COUNT', 'COUNT(*) AS tp_count') in Query.php line 649
  8. at Query->aggregate('COUNT', '*', true) in Query.php line 684
  9. at Query->count() in Query.php line 1810
  10. at Query->paginate('50', false, ['type' => 'bootstrap', 'var_page' => 'page', 'list_rows' => 15, ...]) in Sosucai.php line 159
  11. at Sosucai->index()
  12. at ReflectionMethod->invokeArgs(object(Sosucai), []) in Container.php line 395
  13. at Container->invokeReflectMethod(object(Sosucai), object(ReflectionMethod), ['type' => 'sucai', 'id' => '100760', 'exts' => '0', ...]) in Module.php line 131
  14. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  15. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  16. at Middleware->think\{closure}(object(Request))
  17. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  18. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  19. at Module->exec() in Dispatch.php line 168
  20. at Dispatch->run() in App.php line 432
  21. at App->think\{closure}(object(Request), object(Closure), null)
  22. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  23. at Middleware->think\{closure}(object(Request))
  24. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  25. at Middleware->dispatch(object(Request)) in App.php line 435
  26. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
referer https://www.kaicz.com/so-sucai/100760-0-13-0-1.html
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.kaicz.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME kaicz.com
SERVER_PORT 443
SERVER_ADDR 192.168.0.137
REMOTE_PORT 51618
REMOTE_ADDR 18.191.174.168
SERVER_SOFTWARE nginx/1.20.2
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/www.kaicz.com/public
DOCUMENT_URI /index.php
REQUEST_URI /so-sucai/100760-0-13-0-1.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/so-sucai/100760-0-13-0-1.html
SCRIPT_FILENAME /www/wwwroot/www.kaicz.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1713455775.3071
REQUEST_TIME 1713455775
Environment Variablesempty
ThinkPHP Constantsempty