Notice: Undefined offset: 1 in /var/www/blogsamateurs.com/htdocs/inc/webs-modelos/config.php on line 65

Query error:

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 aprobado = 'APROBADO' AND fecha <= NOW() ORDER BY fecha DESC' at line 3