Fatal error: Uncaught exception 'PDOException' with message '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 6' in /mnt/storage/home/rydmoda/test/models/looksModel.php:105
Stack trace:
#0 /mnt/storage/home/rydmoda/test/models/looksModel.php(105): PDO->prepare('\r\n\t\t\tSELECT lc....')
#1 /mnt/storage/home/rydmoda/test/controllers/looksController.php(45): looksModel->getCategoriaById(false)
#2 [internal function]: looksController->index(Array)
#3 /mnt/storage/home/rydmoda/test/core/App.php(138): call_user_func(Array, Array)
#4 /mnt/storage/home/rydmoda/test/index.php(26): App->__construct()
#5 {main}
thrown in /mnt/storage/home/rydmoda/test/models/looksModel.php on line 105