Warning: Undefined array key 0 in /home/cp47323/public_html/App/Models/Category.php on line 116
Warning: Trying to access array offset on value of type null in /home/cp47323/public_html/App/Controllers/Frontend/CategoryController.php on line 43
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 3 in /home/cp47323/public_html/vendor/catfan/medoo/src/Medoo.php:563
Stack trace:
#0 /home/cp47323/public_html/vendor/catfan/medoo/src/Medoo.php(563): PDOStatement->execute()
#1 /home/cp47323/public_html/vendor/catfan/medoo/src/Medoo.php(502): Medoo\Medoo->exec(Object(PDOStatement), Array)
#2 /home/cp47323/public_html/App/Models/Contracts/MysqlBaseModel.php(196): Medoo\Medoo->query('SELECT * FROM `...')
#3 /home/cp47323/public_html/App/Models/Category.php(68): App\Models\Contracts\MysqlBaseModel->query('SELECT * FROM `...')
#4 /home/cp47323/public_html/App/Controllers/Frontend/CategoryController.php(46): App\Models\Category->category_tree_for_frontend(Array, '64')
#5 /home/cp47323/public_html/App/Core/Routing/Router.php(114): App\Controllers\Frontend\CategoryController->show()
#6 /home/cp47323/public_html/App/Core/Routing/Router.php(32): App\Core\Routing\Router->dispatch(Array)
#7 /home/cp47323/public_html/Public/index.php(14): App\Core\Routing\Router->run()
#8 {main}
thrown in /home/cp47323/public_html/vendor/catfan/medoo/src/Medoo.php on line 563