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 'ORDER BY ordering ASC, id DESC
LIMIT 0,9' at line 4 in /home/sakuramontessori.jp/public_html/libraries/CI/Database/MySQLi/Connection.php:331
Stack trace:
#0 /home/sakuramontessori.jp/public_html/libraries/CI/Database/MySQLi/Connection.php(331): mysqli->query()
#1 /home/sakuramontessori.jp/public_html/libraries/CI/Database/BaseConnection.php(736): CodeIgniter\Database\MySQLi\Connection->execute()
#2 /home/sakuramontessori.jp/public_html/libraries/CI/Database/BaseConnection.php(666): CodeIgniter\Database\BaseConnection->simpleQuery()
#3 /home/sakuramontessori.jp/public_html/libraries/CI/Database/BaseConnection.php(1907): CodeIgniter\Database\BaseConnection->query()
#4 /home/sakuramontessori.jp/public_html/modules/introduce/models/categories.php(47): CodeIgniter\Database\BaseConnection->query_limit()
#5 /home/sakuramontessori.jp/public_html/modules/introduce/controllers/categories.php(17): IntroduceModelsCategories->get_list()
#6 /home/sakuramontessori.jp/public_html/libraries/functions.php(1199): IntroduceControllersCategories->display()
#7 /home/sakuramontessori.jp/public_html/index.php(292): call_module()
#8 /home/sakuramontessori.jp/public_html/index.php(164): loadMainContent()
#9 {main}
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 'ORDER BY ordering ASC, id DESC' at line 4 in /home/sakuramontessori.jp/public_html/libraries/CI/Database/MySQLi/Connection.php:331
Stack trace:
#0 /home/sakuramontessori.jp/public_html/libraries/CI/Database/MySQLi/Connection.php(331): mysqli->query()
#1 /home/sakuramontessori.jp/public_html/libraries/CI/Database/BaseConnection.php(736): CodeIgniter\Database\MySQLi\Connection->execute()
#2 /home/sakuramontessori.jp/public_html/libraries/CI/Database/BaseConnection.php(666): CodeIgniter\Database\BaseConnection->simpleQuery()
#3 /home/sakuramontessori.jp/public_html/modules/introduce/models/categories.php(79): CodeIgniter\Database\BaseConnection->query()
#4 /home/sakuramontessori.jp/public_html/modules/introduce/controllers/categories.php(20): IntroduceModelsCategories->getTotal()
#5 /home/sakuramontessori.jp/public_html/libraries/functions.php(1199): IntroduceControllersCategories->display()
#6 /home/sakuramontessori.jp/public_html/index.php(292): call_module()
#7 /home/sakuramontessori.jp/public_html/index.php(164): loadMainContent()
#8 {main}