Warning: Undefined variable $sender_role in /home/users/j/j47439330/domains/teamlancer.ru/messages.php on line 102

Warning: Undefined variable $sender_id in /home/users/j/j47439330/domains/teamlancer.ru/messages.php on line 102

Warning: Undefined variable $sender_role in /home/users/j/j47439330/domains/teamlancer.ru/messages.php on line 104

Warning: Undefined variable $sender_id in /home/users/j/j47439330/domains/teamlancer.ru/messages.php on line 104

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 receiver_role="freelancer" AND receiver_id=21 ) OR (sender_role="free...' at line 2 in /home/users/j/j47439330/domains/teamlancer.ru/messages.php:101 Stack trace: #0 /home/users/j/j47439330/domains/teamlancer.ru/messages.php(101): mysqli->query() #1 {main} thrown in /home/users/j/j47439330/domains/teamlancer.ru/messages.php on line 101