Notice: Undefined index: cat in /home/thewhite/public_html/components/com_activity/index.php on line 23

Fatal error: Uncaught 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 actif = 1 ORDER BY ordre ASC' at line 1 in /home/thewhite/public_html/hw-admin/components/com_config/classes/mysql.php:63 Stack trace: #0 /home/thewhite/public_html/hw-admin/components/com_tour/classes/tour.php(195): mysql->queryS('SELECT id FROM ...') #1 /home/thewhite/public_html/components/com_activity/index.php(23): tour::findAllByCategory(NULL) #2 /home/thewhite/public_html/index.php(63): include('/home/thewhite/...') #3 {main} thrown in /home/thewhite/public_html/hw-admin/components/com_config/classes/mysql.php on line 63