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

Fatal error: Uncaught Error: Call to undefined function SendEmail() in /home/l32jccwbx962/public_html/include/class/mysql.php:253 Stack trace: #0 /home/l32jccwbx962/public_html/include/class/mysql.php(88): Connection->SendErrorMail('ERROR_EMAIL', 'You have an err...', Array) #1 /home/l32jccwbx962/public_html/include/class/query.php(114): Connection->ExecuteQuery('SELECT * FROM n...') #2 /home/l32jccwbx962/public_html/include/function/general.php(1816): query->DisplayOne() #3 /home/l32jccwbx962/public_html/include/footer.php(178): getCurrentNotification(false) #4 /home/l32jccwbx962/public_html/html/register.php(196): include_once('/home/l32jccwbx...') #5 /home/l32jccwbx962/public_html/index.php(10): require_once('/home/l32jccwbx...') #6 {main} thrown in /home/l32jccwbx962/public_html/include/class/mysql.php on line 253