Fatal error: Uncaught exception Exception with message Query 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 'groups FROM tl_calendar WHERE id IN(1)' at line 1 (SELECT id, protected, groups FROM tl_calendar WHERE id IN(1)) thrown in /var/www/html/system/libraries/Database.php on line 642
#0 /var/www/html/system/libraries/Database.php(589): Database_Statement->query()
#1 /var/www/html/system/libraries/Database.php(164): Database_Statement->execute()
#2 /var/www/html/system/modules/calendar/Events.php(69): Database->execute('SELECT id, prot...')
#3 /var/www/html/system/modules/calendar/ModuleCalendar.php(81): Events->sortOutProtected(Array)
#4 /var/www/html/system/modules/frontend/ContentModule.php(72): ModuleCalendar->generate()
#5 /var/www/html/system/libraries/Controller.php(415): ContentModule->generate()
#6 /var/www/html/system/modules/frontend/ModuleArticle.php(173): Controller->getContentElement('6')
#7 /var/www/html/system/modules/frontend/Module.php(129): ModuleArticle->compile()
#8 /var/www/html/system/modules/frontend/ModuleArticle.php(71): Module->generate()
#9 /var/www/html/system/libraries/Controller.php(348): ModuleArticle->generate(false)
#10 /var/www/html/system/libraries/Controller.php(221): Controller->getArticle('3', false, false, 'main')
#11 /var/www/html/system/modules/frontend/PageRegular.php(71): Controller->getFrontendModule('0', 'main')
#12 /var/www/html/index.php(200): PageRegular->generate(Object(DB_Mysql_Result))
#13 /var/www/html/index.php(323): Index->run()
#14 {main}