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

查询表达式错误:EGT

  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), 'post.create_time', ['egt', 0, null], ['id' => 1, 'parent_id' => 1, 'post_type' => 1, ...]) in Builder.php line 386
  3. at Builder->parseWhereLogic(object(Query), 'AND', [['post.create_time', 'egt', 0, ...]], ['id' => 1, 'parent_id' => 1, 'post_type' => 1, ...]) in Builder.php line 331
  4. at Builder->buildWhere(object(Query), ['AND' => [['post.create_time', 'egt', 0, ...]]]) in Builder.php line 447
  5. at Builder->parseClosureWhere(object(Query), object(Closure), 'AND') in Builder.php line 371
  6. at Builder->parseWhereLogic(object(Query), 'AND', [['post.post_status', '=', 1], ['post.post_type', '=', 1], ['post.delete_time', '=', 0], ...], ['id' => 1, 'parent_id' => 1, 'post_type' => 1, ...]) in Builder.php line 331
  7. at Builder->buildWhere(object(Query), ['AND' => [['post.post_status', '=', 1], ['post.post_type', '=', 1], ['post.delete_time', '=', 0], ...]]) in Builder.php line 299
  8. at Builder->parseWhere(object(Query), ['AND' => [['post.post_status', '=', 1], ['post.post_type', '=', 1], ['post.delete_time', '=', 0], ...]]) in Mysql.php line 94
  9. at Mysql->select(object(Query)) in Fetch.php line 339
  10. at Fetch->select() in Query.php line 280
  11. at Query->buildSql() in AggregateQuery.php line 49
  12. at BaseQuery->count() in BaseQuery.php line 634
  13. at BaseQuery->paginate(8) in ApiService.php line 132
  14. at ApiService::articles(['field' => '', 'where' => object(Closure), 'limit' => '', ...]) in 5836f1b91f4475c14030f4e4c64fa6ca.php line 255
  15. at include('/var/www/html/data/r...') in File.php line 59
  16. at File->read('/var/www/html/data/r...', ['category' => object(PortalCategoryModel), 'site_info' => ['site_name' => '忘忧草社区日本资源供应链', 'site_seo_title' => '...', 'site_seo_keywords' => '...', ...], 'theme_vars' => ['header_pc' => '', 'header_wap' => '', 'company_name' => '...', ...], ...]) in Template.php line 255
  17. at Template->fetch('/var/www/html/public...', ['category' => object(PortalCategoryModel), 'site_info' => ['site_name' => '忘忧草社区日本资源供应链', 'site_seo_title' => '...', 'site_seo_keywords' => '...', ...], 'theme_vars' => ['header_pc' => '', 'header_wap' => '', 'company_name' => '...', ...], ...]) in Think.php line 149
  18. at Think->fetch('/var/www/html/public...', ['category' => object(PortalCategoryModel), 'site_info' => ['site_name' => '忘忧草视频下载供应链', 'site_seo_title' => '...', 'site_seo_keywords' => '...', ...], 'theme_vars' => ['header_pc' => '', 'header_wap' => '', 'company_name' => '...', ...], ...]) in View.php line 125
  19. at View->think\{closure}() in View.php line 161
  20. at View->getContent(object(Closure)) in View.php line 126
  21. at View->fetch('/var/www/html/public...', [], []) in HomeBaseController.php line 84
  22. at HomeBaseController->fetch('/var/www/html/public...') in ListController.php line 36
  23. at ListController->index()
  24. at ReflectionMethod->invokeArgs(object(ListController), []) in Container.php line 344
  25. at Container->invokeReflectMethod(object(ListController), object(ReflectionMethod), ['id' => '3']) in Controller.php line 138
  26. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  27. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  28. at Pipeline->then(object(Closure)) in Controller.php line 141
  29. at Controller->exec() in Dispatch.php line 90
  30. at Dispatch->run() in Route.php line 772
  31. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  32. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  33. at Pipeline->then(object(Closure)) in Route.php line 773
  34. at Route->dispatch(object(Request), object(Closure)) in Http.php line 217
  35. at Http->dispatchToRoute(object(Request)) in Http.php line 207
  36. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  37. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  38. at SessionInit->handle(object(Request), object(Closure))
  39. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  40. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  41. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  42. at TraceDebug->handle(object(Request), object(Closure))
  43. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  44. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  45. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  46. at Pipeline->then(object(Closure)) in Http.php line 208
  47. at Http->runWithRequest(object(Request)) in Http.php line 171
  48. at Http->run() in index.php line 32

Exception Datas

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

Environment Variables

GET Data
id 3
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
HOSTNAME 68fee7e2f041
PHP_INI_DIR /usr/local/etc/php
SHLVL 2
HOME /home/www-data
OLDPWD /var/www/html
PHP_LDFLAGS -Wl,-O1 -pie
PHP_CFLAGS -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_VERSION 7.4.26
GPG_KEYS 42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
PHP_CPPFLAGS -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_ASC_URL http://www.php.net/distributions/php-7.4.26.tar.xz.asc
PHP_URL http://www.php.net/distributions/php-7.4.26.tar.xz
TERM xterm
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPS autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c
PWD /var/www/html
PHP_SHA256 e305b3aafdc85fa73a81c53d3ce30578bc94d1633ec376add193a1e85e0f0ef8
USER www-data
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, deflate, br
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Maxthon/4.4.3.4000 Chrome/30.0.1599.101 Safari/537.36
HTTP_CONNECTION close
HTTP_HOST www.krajeaw.com
HTTP_X_REAL_IP 125.84.177.98
REDIRECT_STATUS 200
SERVER_NAME
SERVER_PORT 80
SERVER_ADDR 172.17.0.7
REMOTE_PORT 36892
REMOTE_ADDR 172.17.0.1
SERVER_SOFTWARE nginx/1.20.2
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.0
DOCUMENT_ROOT /var/www/html/public
DOCUMENT_URI /index.php
REQUEST_URI /portal/list/index.html?id=3
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=portal/list/index.html&id=3
SCRIPT_FILENAME /var/www/html/public/index.php
PATH_TRANSLATED /var/www/html/public
PATH_INFO
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1663040404.8339
REQUEST_TIME 1663040404
argv [ "s=portal\/list\/index.html&id=3" ]
argc 1
0.316885s