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 uid2 =8585) OR (uid2= AND uid1 =8585) LIMIT 1' at line 1 in /home/phoenix/web/hearthstonehungary.hu/public_html/hs/sql.php:6 Stack trace: #0 /home/phoenix/web/hearthstonehungary.hu/public_html/hs/sql.php(6): mysqli_query() #1 /home/phoenix/web/hearthstonehungary.hu/public_html/hs/modules/profile.php(118): sql_query() #2 /home/phoenix/web/hearthstonehungary.hu/public_html/hs/index.php(399): include('...') #3 {main} thrown in /home/phoenix/web/hearthstonehungary.hu/public_html/hs/sql.php on line 6