==========================================================================================================================================
| 说明:  | Uncaught yzlphp\exception\PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 10' at line 1 in /wwwroot/ycyl_pt/yzlphp/db/Connection.php:709
Stack trace:
#0 /wwwroot/ycyl_pt/yzlphp/db/Connection.php(949): yzlphp\db\Connection->query('SELECT `a`.*,`c...', Array, false, false)
#1 /wwwroot/ycyl_pt/yzlphp/db/Query.php(3005): yzlphp\db\Connection->select(Object(yzlphp\db\Query))
#2 /wwwroot/ycyl_pt/app/home/index.php(114): yzlphp\db\Query->select()
#3 [internal function]: app\home\index->xueyuan()
#4 /wwwroot/ycyl_pt/yzlphp/Base.php(125): ReflectionMethod->invokeArgs(Object(app\home\index), Array)
#5 /wwwroot/ycyl_pt/yzlphp/Base.php(66): yzlphp\Base::invoke(Array)
#6 /wwwroot/ycyl_pt/public/index.php(13): yzlphp\Base::run()
#7 {main}
  thrown
------------------------------------------------------------------------------------------------------------------------------------------
| 类型:  | 1
------------------------------------------------------------------------------------------------------------------------------------------
| 行号:  | 709
------------------------------------------------------------------------------------------------------------------------------------------
| 位置:  | /wwwroot/ycyl_pt/yzlphp/db/Connection.php
------------------------------------------------------------------------------------------------------------------------------------------
| 调试:  | array (
  'PDO Error Info' => 
  array (
    'SQLSTATE' => '42000',
    'Driver Error Code' => 1064,
    'Driver Error Message' => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'LIMIT 10\' at line 1',
  ),
  'Database Status' => 
  array (
    'Error Code' => 10501,
    'Error Message' => 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'LIMIT 10\' at line 1',
    'Error SQL' => 'SELECT `a`.*,`c`.`url`,c.name groupName FROM `sl_cms_document_article` `a` INNER JOIN `sl_cms_column` `c` ON `a`.`cid`=`c`.`id` WHERE  `a`.`cid` <>  LIMIT 10',
  ),
  'Database Config' => 
  array (
    'type' => 'mysql',
    'hostname' => '127.0.0.1',
    'database' => 'ycyl_pt',
    'hostport' => '3306',
    'dsn' => '',
    'params' => 
    array (
    ),
    'charset' => 'utf8',
    'prefix' => 'sl_',
    'debug' => true,
    'deploy' => 0,
    'rw_separate' => false,
    'master_num' => 1,
    'slave_no' => '',
    'read_master' => false,
    'fields_strict' => false,
    'resultset_type' => 'array',
    'auto_timestamp' => false,
    'datetime_format' => false,
    'sql_explain' => false,
    'builder' => '',
    'query' => '\\yzlphp\\db\\Query',
    'break_reconnect' => false,
    'break_match_str' => 
    array (
    ),
  ),
)
==========================================================================================================================================