:(

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') LIMIT 1' at line 1

错误位置

FILE: /mnt/hy-tmy.com/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 169

TRACE

#0 /mnt/hy-tmy.com/ThinkPHP/Library/Think/Db/Driver.class.php(169): PDOStatement->execute()
#1 /mnt/hy-tmy.com/ThinkPHP/Library/Think/Db/Driver.class.php(930): Think\Db\Driver->query('SELECT `MAINSHO...', false)
#2 /mnt/hy-tmy.com/ThinkPHP/Library/Think/Model.class.php(960): Think\Db\Driver->select(Array)
#3 /mnt/hy-tmy.com/Main/Controller/NewsController.class.php(104): Think\Model->getField('MAINSHOWTOPIC')
#4 [internal function]: Main\Controller\NewsController->view('668')
#5 /mnt/hy-tmy.com/ThinkPHP/Library/Think/App.class.php(162): ReflectionMethod->invokeArgs(Object(Main\Controller\NewsController), Array)
#6 /mnt/hy-tmy.com/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#7 /mnt/hy-tmy.com/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#8 /mnt/hy-tmy.com/ThinkPHP/ThinkPHP.php(104): Think\Think::start()
#9 /mnt/hy-tmy.com/index.php(9): require('/mnt/hy-tmy.com...')
#10 {main}