[0] Exception in Builder.php line 115

数据表字段不存在:[content]

  1. if ($val instanceof Expression) {
  2. $result[$item] = $val->getValue();
  3. continue;
  4. } elseif (is_object($val) && method_exists($val, '__toString')) {
  5. // 对象数据写入
  6. $val = $val->__toString();
  7. }
  8. if (false === strpos($key, '.') && !in_array($key, $fields, true)) {
  9. if ($options['strict']) {
  10. throw new Exception('fields not exists:[' . $key . ']');
  11. }
  12. } elseif (is_null($val)) {
  13. $result[$item] = 'NULL';
  14. } elseif (is_array($val) && !empty($val)) {
  15. switch (strtolower($val[0])) {
  16. case 'inc':
  17. $result[$item] = $item . '+' . floatval($val[1]);
  18. break;
  19. case 'dec':

Call Stack

  1. in Builder.php line 115
  2. at Builder->parseData(['city_id' => '101250101', 'content' => '{"cityid":"101250101...', 'createtime' => 1715759138], ['table' => 'fa_tianqi', 'where' => [], 'field' => '*', ...]) in Builder.php line 743
  3. at Builder->insert(['city_id' => '101250101', 'content' => '{"cityid":"101250101...', 'createtime' => 1715759138], ['table' => 'fa_tianqi', 'where' => [], 'field' => '*', ...], false) in Query.php line 2266
  4. at Query->insert(['city_id' => '101250101', 'content' => '{"cityid":"101250101...', 'createtime' => 1715759138], false, true, null) in Query.php line 2305
  5. at Query->insertGetId(['city_id' => '101250101', 'content' => '{"cityid":"101250101...', 'createtime' => 1715759138]) in common.php line 168
  6. at gettianqiapi('101250101') in common.php line 133
  7. at gettianqi('101250101') in Index.php line 96
  8. at Index->index()
  9. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 343
  10. at App::invokeMethod([object(Index), 'index'], []) in App.php line 611
  11. at App::module(['tianqi', 'index', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  12. at App::exec(['type' => 'module', 'module' => ['tianqi', 'index', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  13. at App::run() in start.php line 19
  14. at require('/www/wwwroot/tools.i...') in index.php line 94

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

fikker-2ITi-jkXI
4enQXwhGlJjmPkfWL9j3di8QM5h9hgJJ
fikker-KEPi-Z7Xa
BsBSbwRLNOhAxs6UKNM9KWTshGBARUhu
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
tianqi.itqun.com
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_COOKIE
fikker-2ITi-jkXI=4enQXwhGlJjmPkfWL9j3di8QM5h9hgJJ; fikker-KEPi-Z7Xa=BsBSbwRLNOhAxs6UKNM9KWTshGBARUhu
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT
*/*
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
tools.itqun.com
SERVER_PORT
80
SERVER_ADDR
172.21.228.253
REMOTE_PORT
36070
REMOTE_ADDR
18.222.184.122
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/tools.itqun.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/tools.itqun.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1715759138.1558
REQUEST_TIME
1715759138
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/tools.itqun.com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1715759138.1563
THINK_START_MEM
434216
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/tools.itqun.com/thinkphp/
LIB_PATH
/www/wwwroot/tools.itqun.com/thinkphp/library/
CORE_PATH
/www/wwwroot/tools.itqun.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/tools.itqun.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/tools.itqun.com/
EXTEND_PATH
/www/wwwroot/tools.itqun.com/extend/
VENDOR_PATH
/www/wwwroot/tools.itqun.com/vendor/
RUNTIME_PATH
/www/wwwroot/tools.itqun.com/runtime/
LOG_PATH
/www/wwwroot/tools.itqun.com/runtime/log/
CACHE_PATH
/www/wwwroot/tools.itqun.com/runtime/cache/
TEMP_PATH
/www/wwwroot/tools.itqun.com/runtime/temp/
CONF_PATH
/www/wwwroot/tools.itqun.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/www/wwwroot/tools.itqun.com/addons/