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 'AND idiomasId=1' at line 4' in /mnt/storage/home/rydmoda/test/models/seccionesModel.php:63
Stack trace:
#0 /mnt/storage/home/rydmoda/test/models/seccionesModel.php(63): PDO->prepare('\r\n\t\t\tSELECT *\r\n...')
#1 /mnt/storage/home/rydmoda/test/controllers/seccionesController.php(61): seccionesModel->getSeo(NULL)
#2 [internal function]: seccionesController->opiniones(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/seccionesModel.php on line 63