Upgrade Package

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 'where BookMark=1 group by SUBSTRING( EndTime, 1, 10 ) order by EndTime desc' at line 1 in /home/uhmn6p9kb8ir/public_html/exxamm.com/QuestionBank/Student/Profile.php:364 Stack trace: #0 /home/uhmn6p9kb8ir/public_html/exxamm.com/QuestionBank/Student/Profile.php(364): mysqli_query() #1 /home/uhmn6p9kb8ir/public_html/exxamm.com/QuestionBank/home.php(910): require_once('/home/uhmn6p9kb...') #2 {main} thrown in /home/uhmn6p9kb8ir/public_html/exxamm.com/QuestionBank/Student/Profile.php on line 364