Novedades
Fatal error: Uncaught 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 'ORDER BY fecha DESC LIMIT 0,1' at line 1 in C:\xampp\htdocs\models\opac_web_model.php:35
Stack trace:
#0 C:\xampp\htdocs\models\opac_web_model.php(35): PDOStatement->execute()
#1 C:\xampp\htdocs\controllers\opac_web.php(103): Opac_web_Model->getConsulta('SELECT * FROM m...')
#2 C:\xampp\htdocs\views\opac_web\detalleunit.php(54): Opac_web->getConsulta('SELECT * FROM m...')
#3 C:\xampp\htdocs\libs\View.php(48): require('C:\\xampp\\htdocs...')
#4 C:\xampp\htdocs\controllers\opac_web.php(89): View->rendermain('opac_web/detall...')
#5 C:\xampp\htdocs\libs\Bootstrap.php(49): Opac_web->detalleunit('assets')
#6 C:\xampp\htdocs\index.php(17): Bootstrap->__construct()
#7 {main}
thrown in
C:\xampp\htdocs\models\opac_web_model.php on line
35