Caught exception: DAL: Error on SQL query: SELECT 1 as count FROM user_messages WHERE user_messages.user_id = GROUP BY from_user_id, Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY from_user_id' at line 1 in /var/www/vhosts/electrobeat.org/httpdocs/inc/lib/dal/mysql/MySqlCommand.php on line 24
Trace information:
function: Execute() in the /var/www/vhosts/electrobeat.org/httpdocs/inc/lib/dal/bu/BusinessUnit.php on line 750
function: result(SELECT 1 as count FROM user_messages WHERE user_messages.user_id = GROUP BY from_user_id ) in the /var/www/vhosts/electrobeat.org/httpdocs/inc/bunits/UserMessagesUnit.php on line 179
function: getForUserCount() in the /var/www/vhosts/electrobeat.org/httpdocs/inc/templates/MessagesList/MessagesList.inc on line 20
function: Before() in the /var/www/vhosts/electrobeat.org/httpdocs/inc/lib/base/Template.inc on line 133
function: Before() in the /var/www/vhosts/electrobeat.org/httpdocs/inc/pages/Front/Front.inc on line 437
function: Before() in the /var/www/vhosts/electrobeat.org/httpdocs/inc/lib/base/Page.inc on line 44
function: Run() in the /var/www/vhosts/electrobeat.org/httpdocs/inc/lib/base/Application.inc on line 214
function: Run() in the /var/www/vhosts/electrobeat.org/httpdocs/index.php on line 35