Uncaught exception: 'PDOException'
Message: 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1'
Stack trace:
#0 /var/www/iihmrdelhi.edu.in/App/Models/CategoryModel.php(79): PDOStatement->execute() #1 /var/www/iihmrdelhi.edu.in/App/Controllers/Category.php(289): App\Models\CategoryModel::categoryIdFetchWhere() #2 [internal function]: App\Controllers\Category->indexAction() #3 /var/www/iihmrdelhi.edu.in/Core/MainController.php(27): call_user_func_array() #4 /var/www/iihmrdelhi.edu.in/Core/Router.php(88): Core\MainController->__call() #5 /var/www/iihmrdelhi.edu.in/public/index.php(145): Core\Router->dispatch() #6 {main}
Thrown in '/var/www/iihmrdelhi.edu.in/App/Models/CategoryModel.php' on line 79