:(

1048:Column 'shw_useragent' cannot be null [ SQL语句 ] : INSERT INTO `cms_stattraffic` (`shw_url`,`shw_artid`,`shw_cid`,`shw_cidtitle`,`shw_referurlhost`,`shw_title`,`shw_navurl`,`shw_navtitle`,`shw_sid`,`shw_md5sidip`,`shw_query`,`shw_keywords`,`shw_clientip`,`shw_referurl`,`shw_areaname`,`shw_areaprovince`,`log_time`,`shw_useragent`,`show_accessdevice`) VALUES ('/casese?cid=3','0','3','案例展示','','案例展示','','','44igge3d7qoj1ihfip30ad3pf2','337dfe297e2516b9ea716d3d356e7960','cid=3','案例展示','45.194.199.54','/','美国,','','2020-09-18 04:41:11',NULL,'PC')

错误位置

FILE: /data/bcc023a/1806/kankanadcom/web_app/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 350

TRACE

#0 /data/bcc023a/1806/kankanadcom/web_app/ThinkPHP/Library/Think/Db/Driver.class.php(350): E('1048:Column 'sh...')
#1 /data/bcc023a/1806/kankanadcom/web_app/ThinkPHP/Library/Think/Db/Driver.class.php(237): Think\Db\Driver->error()
#2 /data/bcc023a/1806/kankanadcom/web_app/ThinkPHP/Library/Think/Db/Driver.class.php(824): Think\Db\Driver->execute('INSERT INTO `cm...', false)
#3 /data/bcc023a/1806/kankanadcom/web_app/ThinkPHP/Library/Think/Model.class.php(320): Think\Db\Driver->insert(Array, Array, false)
#4 /data/bcc023a/1806/kankanadcom/web_app/Application/Site/Model/StattrafficModel.class.php(15): Think\Model->add(Array)
#5 /data/bcc023a/1806/kankanadcom/web_app/Application/Site/Model/StattrafficModel.class.php(130): Site\Model\StattrafficModel->addStattraffic(Array)
#6 /data/bcc023a/1806/kankanadcom/web_app/Application/Site/Controller/BaseController.class.php(117): Site\Model\StattrafficModel->addtostattraffic('/casese?cid=3', 'Casese', 3, 0, NULL, 'http://www.kank...', 'PC')
#7 /data/bcc023a/1806/kankanadcom/web_app/Application/Site/Controller/BaseController.class.php(16): Site\Controller\BaseController->add_stattraffic()
#8 /data/bcc023a/1806/kankanadcom/web_app/Application/Site/Controller/CaseseController.class.php(9): Site\Controller\BaseController->__construct()
#9 /data/bcc023a/1806/kankanadcom/web_app/ThinkPHP/Common/functions.php(681): Site\Controller\CaseseController->__construct()
#10 /data/bcc023a/1806/kankanadcom/web_app/ThinkPHP/Library/Think/App.class.php(89): controller('Casese', '')
#11 /data/bcc023a/1806/kankanadcom/web_app/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()
#12 /data/bcc023a/1806/kankanadcom/web_app/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#13 /data/bcc023a/1806/kankanadcom/web_app/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#14 /data/bcc023a/1806/kankanadcom/web_app/index.php(9): require('/data/bcc023a/1...')
#15 {main}