Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND h.is_active = 1 AND h.review_count >= 1 AND h.address1 = '福島県'' at line 1 in /home/yuzupon1111/yado-ranking.com/public_html/db.php:34
Stack trace:
#0 /home/yuzupon1111/yado-ranking.com/public_html/db.php(34): mysqli->query('SELECT AVG(h.re...')
#1 /home/yuzupon1111/yado-ranking.com/public_html/tag_search.php(62): db->task('SELECT AVG(h.re...')
#2 {main}
thrown in /home/yuzupon1111/yado-ranking.com/public_html/db.php on line 34