Notice: Undefined variable: terms in /home/users/2/ on line 121

WordPress データベースエラー: [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 ')) AND posts.post_status = 'publish' AND post_type = 'post'' at line 7]
SELECT AVG(meta_value) AS Average, COUNT(meta_value) AS RatingCount FROM wp26_postmeta postmeta INNER JOIN wp26_posts posts ON postmeta.post_id = posts.ID WHERE postmeta.meta_key = 'rating' AND postmeta.post_id IN (SELECT object_id FROM wp26_term_relationships WHERE term_taxonomy_id IN ()) AND posts.post_status = 'publish' AND post_type = 'post'


ただいまの公式口コミ 4419