Fatal error: Uncaught PDOException: 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 5 in /data/html/common_php.php:174
Stack trace:
#0 /data/html/common_php.php(174): PDO->query('Select count(1)...')
#1 /data/html/note/index.php(34): sql_count(Object(PDO), 'Select count(1)...')
#2 {main}
thrown in /data/html/common_php.php on line 174