WordPress数据库查询SELECT name FROM wp_terms WHERE term_id=;时发生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错误,这是由require('D:\wwwroot\huangjinjixie_cn\wwwroot\wp-blog-header.php'), require_once('D:\wwwroot\huangjinjixie_cn\wwwroot\wp-includes\template-loader.php'), do_action('template_redirect'), call_user_func_array, cat_temp, include('D:\wwwroot\huangjinjixie_cn\wwwroot\wp-content\themes\huangjinjixie\category-case.php'), get_header, locate_template, load_template, require_once('D:\wwwroot\huangjinjixie_cn\wwwroot\wp-content\themes\huangjinjixie\header.php'), wp_head, do_action('wp_head'), call_user_func_array, Wp_jocaseo_Public->jocaseo_add_title_tag查询的。