WordPress database error 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 'as t WHERE t.slug = 'hogehoge' at line 1 for query SELECT /* hoge*/term_id FROM  as t WHERE t.slug = '%e3%82%a8%e3%83%b3%e3%82%bf%e3%83%bc%e3%83%86%e3%82%a4%e3%83%a1%e3%83%b3%e3%83%88' made by main, taxonomyControl->addTaxonomyByDetailValue, taxonomyControl->addPurcatTaxonomyByDetailValue, wp_set_object_terms, wp_insert_term, is_term