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 /var/www/vhosts/ivardev.com/cntb.ivardev.com/inc/functions.php:18
Stack trace:
#0 /var/www/vhosts/ivardev.com/cntb.ivardev.com/inc/functions.php(18): PDOStatement->execute()
#1 /var/www/vhosts/ivardev.com/cntb.ivardev.com/inc/functions.php(53): get_connection()
#2 /var/www/vhosts/ivardev.com/cntb.ivardev.com/view/routes.php(405): db_value()
#3 /var/www/vhosts/ivardev.com/cntb.ivardev.com/view/index.php(52): include('...')
#4 {main}
thrown in /var/www/vhosts/ivardev.com/cntb.ivardev.com/inc/functions.php on line 18