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 MariaDB server version for the right syntax to use near 'LIMIT 1' at line 1 in /home/agroeksp/public_html/_manager/functions.php:206
Stack trace:
#0 /home/agroeksp/public_html/_manager/functions.php(206): PDOStatement->execute()
#1 /home/agroeksp/public_html/_manager/functions.php(219): db_query('SELECT * FROM p...')
#2 /home/agroeksp/public_html/index.php(38): db_fetch('SELECT * FROM p...')
#3 {main}
thrown in /home/agroeksp/public_html/_manager/functions.php on line 206