UserException Object ( [code_string:protected] => 1064 [data] => [message:protected] => Database\DBAPI 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 event__list.event_id' at line 1 [string:Exception:private] => [code:protected] => 1064 [file:protected] => /srv/sportmotor/v15/src/class/Database/DBAPI.php [line:protected] => 118 [trace:Exception:private] => Array ( [0] => Array ( [file] => /srv/sportmotor/v15/webroot/event.php [line] => 83 [function] => loadRecord [class] => Database\DBAPI [type] => -> [args] => Array ( [0] => Event [1] => Array ( [fields] => event_id [condition] => Array ( [pub] => 1 [role] => 1 [status] => 1 [pending] => 0 ) [load_category] => 1 [safe_condition] => date_end > now() AND category__item_list.class='Event' AND motobay.category__item_list.category_id = ) [2] => 1 ) ) [1] => Array ( [file] => /srv/sportmotor/v15/webroot/router.php [line] => 118 [args] => Array ( [0] => /srv/sportmotor/v15/webroot/event.php ) [function] => require ) [2] => Array ( [function] => {closure} [args] => Array ( ) ) [3] => Array ( [file] => /srv/sportmotor/v15/webroot/router.php [line] => 252 [function] => call_user_func [args] => Array ( [0] => Closure Object ( ) ) ) ) [previous:Exception:private] => )