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 'AND (`name` = 'events' OR `name` = 'Events')' at line 1 in /var/www/controlroom/app/classes/controlroom.class.php:97
Stack trace:
#0 /var/www/controlroom/app/classes/controlroom.class.php(97): mysqli->query()
#1 /var/www/controlroom/app/classes/Section.class.php(1209): controlroom->databaseQuery()
#2 /var/www/controlroom/app/classes/Section.class.php(231): Section->hasModule()
#3 /var/www/controlroom/app/classes/Subsections.class.php(59): Section->getSections()
#4 /var/www/controlroom/app/Live/actions/LiveAction.class.php(628): Subsections->getSubsectionPreview()
#5 /var/www/controlroom/app/classes/Mojavi.class.php(90): LiveAction->execute()
#6 /var/www/controlroom/app/classes/Mojavi.class.php(129): ExecutionFilter->execute()
#7 /var/www/controlroom/app/classes/Mojavi.class.php(1126): FilterChain->execute()
#8 /var/www/controlroom/app/Default/actions/DefaultIndexAction.class.php(61): Controller->forward()
#9 /var/www/controlroom/app/classes/Mojavi.class.php(90): DefaultIndexAction->execute()
#10 /var/www/controlroom/app/classes/Mojavi.class.php(129): ExecutionFilter->execute()
#11 /var/www/controlroom/app/classes/Mojavi.class.php(1126): FilterChain->execute()
#12 /var/www/controlroom/app/classes/Mojavi.class.php(1071): Controller->forward()
#13 /var/www/controlroom/index.php(37): Controller->dispatch()
#14 {main}
thrown in /var/www/controlroom/app/classes/controlroom.class.php on line 97