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 '138.201.21.243", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/53...' at line 5 in /var/www/public/includes/db.mysql.php:36 Stack trace: #0 /var/www/public/includes/db.mysql.php(36): mysqli_query(Object(mysqli), '\n\t\tINSERT INTO ...') #1 /var/www/public/includes/functions.php(184): mysql_query('\n\t\tINSERT INTO ...', Object(mysqli)) #2 /var/www/public/index.php(326): set_referer_stats() #3 {main} thrown in /var/www/public/includes/db.mysql.php on line 36