Fatal error: Uncaught mysqli_sql_exception: 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 portada = 'si' AND estat = 'actiu' ORDER BY ordre DESC LIMIT 1' at line 1 in /app/libs/ez_sql_mysqli.php:275 Stack trace: #0 /app/libs/ez_sql_mysqli.php(275): mysqli->query('SELECT id FROM ...') #1 /app/libs/ez_sql_core.php(135): ezSQL_mysqli->query('SELECT id FROM ...') #2 /app/index.php(249): ezSQLcore->get_var('SELECT id FROM ...') #3 {main} thrown in /app/libs/ez_sql_mysqli.php on line 275








