SELECT * cms_menu WHERE `mod` = 'newsletter' LIMIT 1You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cms_menu WHERE `mod` = 'newsletter' LIMIT 1' at line 1
Fatal error: Uncaught Error: Call to undefined function mysql_error() in /_libs/CoreLite.php:142 Stack trace: #0 /_libs/Core/MySQLiDatabase.php(62): badQueryException->__construct('SELECT * cms_me...') #1 /_libs/Core/MySQLiDatabase.php(42): MySQLiQuery->__construct('SELECT * cms_me...', Object(mysqli)) #2 /_addons/newsletter/controller.php(76): MySQLiDatabase->query('SELECT * cms_me...', 'newsletter') #3 /index.php(59): Module->index() #4 /index.php(727): Controller->_run('') #5 {main} thrown in /_libs/CoreLite.php on line 142