Router Error (500)
Error: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'movies.id WHERE `is_active` = 1 AND `movies`.`is_active` = 1 AND `movie_genr...' at line 1 📍 Location: File: /home/ovttv/public_html/index.php, Line: 185, In: include_once()
File: /home/ovttv/public_html/views/lib/DB.php line 2428
Stack Trace:
#0 /home/ovttv/public_html/views/lib/DB.php(2679): DB->get()
#1 /home/ovttv/public_html/views/lib/DB.php(2688): DB->aggregate()
#2 /home/ovttv/public_html/views/movies.php(39): DB->count()
#3 /home/ovttv/public_html/index.php(185): include_once('/home/ovttv/pub...')
#4 [internal function]: {closure}()
#5 /home/ovttv/public_html/views/lib/Router.php(2847): ReflectionFunction->invokeArgs()
#6 /home/ovttv/public_html/views/lib/Router.php(2823): Router->callCallable()
#7 /home/ovttv/public_html/views/lib/Router.php(2740): Router->callHandler()
#8 /home/ovttv/public_html/views/lib/Router.php(2638): Router->dispatch()
#9 /home/ovttv/public_html/index.php(241): Router->run()
#10 {main}