Exception

Database Exceptionyii\db\Exception

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 '' at line 1
The SQL being executed was: SELECT * FROM `x2_category` WHERE id=

Error Info: Array
(
    [0] => 42000
    [1] => 1064
    [2] => 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 '' at line 1
)
$_GET = [
    'audioId' => '18',
];

$_SERVER = [
    'REDIRECT_UNIQUE_ID' => 'ZgU87i78o03Jp-rqdIY98wAAACQ',
    'REDIRECT_STATUS' => '200',
    'UNIQUE_ID' => 'ZgU87i78o03Jp-rqdIY98wAAACQ',
    'HTTP_ACCEPT' => '*/*',
    'HTTP_USER_AGENT' => 'claudebot',
    'HTTP_REFERER' => 'http://fm.viplgw.cn/cn/details-18.html',
    'HTTP_HOST' => 'fm.viplgw.cn',
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
    'SERVER_SIGNATURE' => '',
    'SERVER_SOFTWARE' => 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.40',
    'SERVER_NAME' => 'fm.viplgw.cn',
    'SERVER_ADDR' => '172.18.175.120',
    'SERVER_PORT' => '80',
    'REMOTE_ADDR' => '3.80.131.164',
    'DOCUMENT_ROOT' => '/var/www/html/audio/web',
    'REQUEST_SCHEME' => 'http',
    'CONTEXT_PREFIX' => '',
    'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/audio/web',
    'SERVER_ADMIN' => 'root@localhost',
    'SCRIPT_FILENAME' => '/var/www/html/audio/web/index.php',
    'REMOTE_PORT' => '44820',
    'REDIRECT_URL' => '/cn/details-18.html',
    'GATEWAY_INTERFACE' => 'CGI/1.1',
    'SERVER_PROTOCOL' => 'HTTP/1.1',
    'REQUEST_METHOD' => 'GET',
    'QUERY_STRING' => '',
    'REQUEST_URI' => '/cn/details-18.html',
    'SCRIPT_NAME' => '/index.php',
    'PHP_SELF' => '/index.php',
    'REQUEST_TIME_FLOAT' => 1711619310.128,
    'REQUEST_TIME' => 1711619310,
];

$_SESSION = [
    '__flash' => [],
];