SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Array', 'Array'' at line 4 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 MySQL server version for the right syntax to use near ''Array', 'Array'' at line 4 in /mnt/web419/a0/85/59494885/htdocs/clases/Database.php:486 Stack trace: #0 /mnt/web419/a0/85/59494885/htdocs/clases/Database.php(486): PDOStatement->execute(Array) #1 /mnt/web419/a0/85/59494885/htdocs/clases/Galerias.php(88): DatabaseSingleton->prepareQuery('SELECT DISTINCT...', Array) #2 /mnt/web419/a0/85/59494885/htdocs/control/galerias.php(95): Galerias->QueryTodas(0, '2', '', '', Array) #3 /mnt/web419/a0/85/59494885/htdocs/index.php(93): require_once('/mnt/web419/a0/...') #4 {main} thrown in /mnt/web419/a0/85/59494885/htdocs/clases/Database.php on line 486