[21-May-2026 19:07:41 Asia/Aden] PHP Fatal error:  Uncaught PDOException: 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 '?' at line 1 in /home/smipqfqm/public_html/student-gateway/includes/db.php:97
Stack trace:
#0 /home/smipqfqm/public_html/student-gateway/includes/db.php(97): PDO->prepare()
#1 /home/smipqfqm/public_html/student-gateway/includes/functions.php(452): tableExists()
#2 /home/smipqfqm/public_html/student-gateway/includes/student-auth.php(124): logActivity()
#3 /home/smipqfqm/public_html/student-gateway/login.php(16): studentLogin()
#4 {main}
  thrown in /home/smipqfqm/public_html/student-gateway/includes/db.php on line 97
[21-May-2026 19:10:59 Asia/Aden] PHP Fatal error:  Uncaught PDOException: 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 '?' at line 1 in /home/smipqfqm/public_html/student-gateway/includes/db.php:97
Stack trace:
#0 /home/smipqfqm/public_html/student-gateway/includes/db.php(97): PDO->prepare()
#1 /home/smipqfqm/public_html/student-gateway/includes/functions.php(452): tableExists()
#2 /home/smipqfqm/public_html/student-gateway/includes/student-auth.php(124): logActivity()
#3 /home/smipqfqm/public_html/student-gateway/login.php(16): studentLogin()
#4 {main}
  thrown in /home/smipqfqm/public_html/student-gateway/includes/db.php on line 97
[21-May-2026 20:33:58 Asia/Aden] PHP Fatal error:  Uncaught Error: Call to undefined function isAdminLoggedIn() in /home/smipqfqm/public_html/student-gateway/logout.php:43
Stack trace:
#0 {main}
  thrown in /home/smipqfqm/public_html/student-gateway/logout.php on line 43
[23-May-2026 16:47:32 Asia/Aden] PHP Warning:  session_destroy(): Trying to destroy uninitialized session in /home/smipqfqm/public_html/student-gateway/logout.php on line 79
