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 '' at line 1 in /var/www/oavprhtw/data/www/life-and-love.ru/account/groups/group/photo.php:6
Stack trace:
#0 /var/www/oavprhtw/data/www/life-and-love.ru/account/groups/group/photo.php(6): mysqli->query('SELECT * FROM a...')
#1 /var/www/oavprhtw/data/www/life-and-love.ru/account/groups/group/index.php(34): include_once('/var/www/oavprh...')
#2 {main}
thrown in /var/www/oavprhtw/data/www/life-and-love.ru/account/groups/group/photo.php on line 6