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 'JOIN (
SELECT
c2.following_id AS user_id,
COUNT(*) AS mu...' at line 37 in /var/www/twitty/data/www/twitty.ru/core/libs/DB/vendor/thingengineer/mysqli-database-class/MysqliDb.php:1978
Stack trace:
#0 /var/www/twitty/data/www/twitty.ru/core/libs/DB/vendor/thingengineer/mysqli-database-class/MysqliDb.php(1978): mysqli->prepare('SELECT \n u.i...')
#1 /var/www/twitty/data/www/twitty.ru/core/libs/DB/vendor/thingengineer/mysqli-database-class/MysqliDb.php(559): MysqliDb->_prepareQuery()
#2 /var/www/twitty/data/www/twitty.ru/core/components/user.php(1004): MysqliDb->rawQuery('SELECT \n u.i...')
#3 /var/www/twitty/data/www/twitty.ru/core/components/mw/http_request_mw.php(20): cl_get_follow_suggestions(5)
#4 /var/www/twitty/data/www/twitty.ru/index.php(19): require_once('/var/www/twitty...')
#5 {main}
thrown in /var/www/twitty/data/www/twitty.ru/core/libs/DB/vendor/thingengineer/mysqli-database-class/MysqliDb.php on line 1978