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 'FRsOM product_category ORDER BY id desc' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:92 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(92): PDOStatement->execute() #1 F:\xampp\htdocs\tfb_api\controllers\Category.php(33): Model\CategoryModel->findAll() #2 F:\xampp\htdocs\tfb_api\v1\index.php(52): Controller\Category->read() #3 [internal function]: {closure}() #4 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #5 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #6 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #7 F:\xampp\htdocs\tfb_api\v1\index.php(63): Bramus\Router\Router->run() #8 {main} 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 'FRsOM product_category ORDER BY id desc' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:92 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(92): PDOStatement->execute() #1 F:\xampp\htdocs\tfb_api\controllers\Category.php(33): Model\CategoryModel->findAll() #2 F:\xampp\htdocs\tfb_api\v1\index.php(52): Controller\Category->read() #3 [internal function]: {closure}() #4 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #5 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #6 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #7 F:\xampp\htdocs\tfb_api\v1\index.php(63): Bramus\Router\Router->run() #8 {main} [2024-02-02 19:02:37] 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 'FRsOM product_category ORDER BY id desc' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:92 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(92): PDOStatement->execute() #1 F:\xampp\htdocs\tfb_api\controllers\Category.php(33): Model\CategoryModel->findAll() #2 F:\xampp\htdocs\tfb_api\v1\index.php(52): Controller\Category->read() #3 [internal function]: {closure}() #4 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #5 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #6 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #7 F:\xampp\htdocs\tfb_api\v1\index.php(63): Bramus\Router\Router->run() #8 {main} [2024-02-02 19:02:26] 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 'FRsOM product_category ORDER BY id desc' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:92 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(92): PDOStatement->execute() #1 F:\xampp\htdocs\tfb_api\controllers\Category.php(33): Model\CategoryModel->findAll() #2 F:\xampp\htdocs\tfb_api\v1\index.php(52): Controller\Category->read() #3 [internal function]: {closure}() #4 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #5 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #6 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #7 F:\xampp\htdocs\tfb_api\v1\index.php(63): Bramus\Router\Router->run() #8 {main} [2024-02-02 19:02:48] 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 'FRsOM product_category ORDER BY id desc' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:92 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(92): PDOStatement->execute() #1 F:\xampp\htdocs\tfb_api\controllers\Category.php(33): Model\CategoryModel->findAll() #2 F:\xampp\htdocs\tfb_api\v1\index.php(52): Controller\Category->read() #3 [internal function]: {closure}() #4 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #5 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #6 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #7 F:\xampp\htdocs\tfb_api\v1\index.php(63): Bramus\Router\Router->run() #8 {main} [2024-02-02 19:02:15] 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 'FRsOM product_category ORDER BY id desc' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:92 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(92): PDOStatement->execute() #1 F:\xampp\htdocs\tfb_api\controllers\Category.php(33): Model\CategoryModel->findAll() #2 F:\xampp\htdocs\tfb_api\v1\index.php(52): Controller\Category->read() #3 [internal function]: {closure}() #4 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #5 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #6 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #7 F:\xampp\htdocs\tfb_api\v1\index.php(63): Bramus\Router\Router->run() #8 {main} [2024-02-02 19:02:10] 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 'FRsOM product_category ORDER BY id desc' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:92 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(92): PDOStatement->execute() #1 F:\xampp\htdocs\tfb_api\controllers\Category.php(33): Model\CategoryModel->findAll() #2 F:\xampp\htdocs\tfb_api\v1\index.php(52): Controller\Category->read() #3 [internal function]: {closure}() #4 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #5 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #6 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #7 F:\xampp\htdocs\tfb_api\v1\index.php(63): Bramus\Router\Router->run() #8 {main} [2024-02-02 19:02:31] 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 'FRsOM product_category ORDER BY id desc' at line 1 in F:\xampp\htdocs\tfb_api\core\Model.php:92 Stack trace: #0 F:\xampp\htdocs\tfb_api\core\Model.php(92): PDOStatement->execute() #1 F:\xampp\htdocs\tfb_api\controllers\Category.php(33): Model\CategoryModel->findAll() #2 F:\xampp\htdocs\tfb_api\v1\index.php(52): Controller\Category->read() #3 [internal function]: {closure}() #4 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(458): call_user_func_array(Object(Closure), Array) #5 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #6 F:\xampp\htdocs\tfb_api\vendor\bramus\router\src\Bramus\Router\Router.php(287): Bramus\Router\Router->handle(Array, true) #7 F:\xampp\htdocs\tfb_api\v1\index.php(63): Bramus\Router\Router->run() #8 {main}