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=2' 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(837): seccionesModel->getSeo(NULL, 2)
#2 /mnt/storage/home/rydmoda/test/core/Controller.php(73): seccionesController->getUrlTranslated('https://www.tes...', 'es', 'en')
#3 /mnt/storage/home/rydmoda/test/controllers/seccionesController.php(79): Controller->view('opiniones/opini...', Array)
#4 [internal function]: seccionesController->opiniones(Array)
#5 /mnt/storage/home/rydmoda/test/core/App.php(138): call_user_func(Array, Array)
#6 /mnt/storage/home/rydmoda/test/index.php(26): App->__construct()
in /mnt/storage/home/rydmoda/test/models/seccionesModel.php on line 63