#0 [10500]DbException in Builder.php line 533

查询表达式错误:NEQ

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

Call Stack

  1. in Builder.php line 533
  2. at Builder->parseWhereItem(object(Query), 'pic', ['neq', '', null], ['id' => 1, 'title' => 2, 'text_md' => 2, ...]) in Builder.php line 386
  3. at Builder->parseWhereLogic(object(Query), 'AND', [['pic', 'neq', '', ...]], ['id' => 1, 'title' => 2, 'text_md' => 2, ...]) in Builder.php line 331
  4. at Builder->buildWhere(object(Query), ['AND' => [['pic', 'neq', '', ...]]]) in Builder.php line 299
  5. at Builder->parseWhere(object(Query), ['AND' => [['pic', 'neq', '', ...]]]) in Mysql.php line 94
  6. at Mysql->select(object(Query)) in PDOConnection.php line 885
  7. at PDOConnection->think\db\{closure}(object(Query)) in PDOConnection.php line 678
  8. at PDOConnection->pdoQuery(object(Query), object(Closure)) in PDOConnection.php line 886
  9. at PDOConnection->select(object(Query)) in BaseQuery.php line 1090
  10. at BaseQuery->select() in Resource.php line 27
  11. at Resource->read('4')
  12. at ReflectionMethod->invokeArgs(object(Resource), ['4']) in Container.php line 343
  13. at Container->invokeReflectMethod(object(Resource), object(ReflectionMethod), ['id' => '4']) in Controller.php line 110
  14. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  15. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  16. at Pipeline->then(object(Closure)) in Controller.php line 113
  17. at Controller->exec() in Dispatch.php line 89
  18. at Dispatch->run() in Route.php line 772
  19. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  20. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  21. at Pipeline->then(object(Closure)) in Route.php line 773
  22. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  23. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  24. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  25. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 71
  26. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  27. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  28. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  29. at MultiApp->handle(object(Request), object(Closure))
  30. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  31. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  32. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  33. at TraceDebug->handle(object(Request), object(Closure))
  34. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  35. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  36. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  37. at SessionInit->handle(object(Request), object(Closure))
  38. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  39. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  40. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  41. at Pipeline->then(object(Closure)) in Http.php line 207
  42. at Http->runWithRequest(object(Request)) in Http.php line 170
  43. at Http->run() in index.php line 20

Exception Datas

Database Status
Error Code 10500
Error Message where express error:NEQ
Error SQL
Database Configempty

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_X_ALICDN_DA_VIA 116.207.118.58,49.7.41.251
HTTP_ALI_CDN_APPVIEW_NAME cdn-tengine
HTTP_ACCEPT_ENCODING deflate, gzip
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_ALI_SWIFT_FORCE_CACHE_CONTROL 600
HTTP_X_CLIENT_SCHEME https
HTTP_X_FORWARDED_FOR 154.92.252.204
HTTP_ALI_SWIFT_STAT_HOST www.transany.com
HTTP_ALI_SWIFT_LOG_HOST www.transany.com
HTTP_ALI_CDN_REAL_IP 154.92.252.204
HTTP_ALI_CDN_REAL_PORT 20001
HTTP_EAGLEEYE_TRACEID 74cf71a516028622013325873e
HTTP_VIA cn1241.l1, l2cm12-6.l2
HTTP_HOST www.transany.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.transany.com
SERVER_PORT 443
SERVER_ADDR 172.17.194.130
REMOTE_PORT 40530
REMOTE_ADDR 39.96.151.155
SERVER_SOFTWARE nginx/1.16.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/transany.com/think60/public
DOCUMENT_URI /index.php
REQUEST_URI /resource/4.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/resource/4.html
SCRIPT_FILENAME /www/wwwroot/transany.com/think60/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1602862201.4156
REQUEST_TIME 1602862201