[2024-02-28 17:02:18] 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 1 in F:\xampp\htdocs\tfb_api\core\Model.php:113 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(113): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\models\MaterialModel.php(143): Model\MaterialModel->query('SELECT mat.*, c...') #2 F:\xampp\htdocs\tfb_api\controllers\MaterialController.php(37): Model\MaterialModel->getAll() #3 F:\xampp\htdocs\tfb_api\v1\index.php(221): Controller\MaterialController->read() #4 [internal function]: {closure}() #5 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #6 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #7 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #8 F:\xampp\htdocs\tfb_api\v1\index.php(565): Bramus\Router\Router->run() #9 {main} [2024-02-28 17:02:35] 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 'ascname asc' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:118 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(118): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\models\MaterialModel.php(143): Model\MaterialModel->query('SELECT mat.*, c...') #2 F:\xampp\htdocs\tfb_api\controllers\MaterialController.php(35): Model\MaterialModel->getAll() #3 F:\xampp\htdocs\tfb_api\v1\index.php(221): Controller\MaterialController->read() #4 [internal function]: {closure}() #5 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #6 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #7 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #8 F:\xampp\htdocs\tfb_api\v1\index.php(565): Bramus\Router\Router->run() #9 {main} [2024-02-28 17:02:33] 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 'DER BY category_name asc, name asc,' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:118 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(118): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\models\MaterialModel.php(143): Model\MaterialModel->query('SELECT mat.*, c...') #2 F:\xampp\htdocs\tfb_api\controllers\MaterialController.php(35): Model\MaterialModel->getAll() #3 F:\xampp\htdocs\tfb_api\v1\index.php(221): Controller\MaterialController->read() #4 [internal function]: {closure}() #5 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #6 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #7 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #8 F:\xampp\htdocs\tfb_api\v1\index.php(565): Bramus\Router\Router->run() #9 {main} [2024-02-28 17:02:44] 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 1 in F:\xampp\htdocs\tfb_api\core\Model.php:118 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(118): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\models\MaterialModel.php(143): Model\MaterialModel->query('SELECT mat.*, c...') #2 F:\xampp\htdocs\tfb_api\controllers\MaterialController.php(35): Model\MaterialModel->getAll() #3 F:\xampp\htdocs\tfb_api\v1\index.php(221): Controller\MaterialController->read() #4 [internal function]: {closure}() #5 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #6 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #7 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #8 F:\xampp\htdocs\tfb_api\v1\index.php(565): Bramus\Router\Router->run() #9 {main} [2024-02-28 17:02:49] 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 'DER BY category_name asc, name asc,' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:118 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(118): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\models\MaterialModel.php(143): Model\MaterialModel->query('SELECT mat.*, c...') #2 F:\xampp\htdocs\tfb_api\controllers\MaterialController.php(35): Model\MaterialModel->getAll() #3 F:\xampp\htdocs\tfb_api\v1\index.php(221): Controller\MaterialController->read() #4 [internal function]: {closure}() #5 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #6 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #7 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #8 F:\xampp\htdocs\tfb_api\v1\index.php(565): Bramus\Router\Router->run() #9 {main} [2024-02-28 17:02:56] 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 1 in F:\xampp\htdocs\tfb_api\core\Model.php:118 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(118): PDOStatement->execute(Array) #1 F:\xampp\htdocs\tfb_api\models\MaterialModel.php(143): Model\MaterialModel->query('SELECT mat.*, c...') #2 F:\xampp\htdocs\tfb_api\controllers\MaterialController.php(35): Model\MaterialModel->getAll() #3 F:\xampp\htdocs\tfb_api\v1\index.php(221): Controller\MaterialController->read() #4 [internal function]: {closure}() #5 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #6 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #7 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #8 F:\xampp\htdocs\tfb_api\v1\index.php(565): Bramus\Router\Router->run() #9 {main}