Anomalie #892
ferméGalette v0.8.2dev. Page Trombinoscope blanche après mise à jour.
100%
Description
La mise à jour d'une version 0.7.8 vers 0.8.2dev se passe bien. En revanche, l'affichage du trombinoscope déclenche une page blanche avec dans les logs de Galette le signalement des erreurs suivantes :
::1 - 2014-12-07 11:47:22 - 4 - PHP Warning: array_fill(): Number of elements must be positive in C:\xampp183\htdocs\galette\includes\Zend-2.3.1\Zend\Db\Sql\Predicate\In.php on line 121
::1 - 2014-12-07 11:47:22 - 4 - PHP Warning: implode(): Invalid arguments passed in C:\xampp183\htdocs\galette\includes\Zend-2.3.1\Zend\Db\Sql\Predicate\In.php on line 121
::1 - 2014-12-07 11:47:22 - 4 - PHP Warning: array_merge(): Argument #2 is not an array in C:\xampp183\htdocs\galette\includes\Zend-2.3.1\Zend\Db\Sql\Predicate\In.php on line 123
::1 - 2014-12-07 11:47:22 - 4 - PHP Warning: array_fill(): Number of elements must be positive in C:\xampp183\htdocs\galette\includes\Zend-2.3.1\Zend\Db\Sql\Predicate\In.php on line 124
::1 - 2014-12-07 11:47:22 - 4 - PHP Warning: array_merge(): Argument #2 is not an array in C:\xampp183\htdocs\galette\includes\Zend-2.3.1\Zend\Db\Sql\Predicate\In.php on line 124
::1 - 2014-12-07 11:47:22 - 4 - PHP Warning: Invalid argument supplied for foreach() in C:\xampp183\htdocs\galette\includes\Zend-2.3.1\Zend\Db\Sql\AbstractSql.php on line 72
::1 - 2014-12-07 11:47:22 - 4 - PHP Warning: vsprintf(): Too few arguments in C:\xampp183\htdocs\galette\includes\Zend-2.3.1\Zend\Db\Sql\AbstractSql.php on line 108
::1 - 2014-12-07 11:47:22 - 3 - Query error: SELECT `galette_pictures`.`id_adh` AS `id_adh` FROM `galette_pictures` WHERE 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 MySQL server version for the right syntax to use near '' at line 1' in C:\xampp183\htdocs\galette\includes\Zend-2.3.1\Zend\Db\Adapter\Driver\Pdo\Connection.php:435
Stack trace:
#0 C:\xampp183\htdocs\galette\includes\Zend-2.3.1\Zend\Db\Adapter\Driver\Pdo\Connection.php(435): PDO->query('SELECT `galette...')
#1 C:\xampp183\htdocs\galette\includes\Zend-2.3.1\Zend\Db\Adapter\Adapter.php(189): Zend\Db\Adapter\Driver\Pdo\Connection->execute('SELECT `galette...')
#2 C:\xampp183\htdocs\galette\lib\Galette\Core\Db.php(773): Zend\Db\Adapter\Adapter->query('SELECT `galette...', 'execute')
#3 C:\xampp183\htdocs\galette\lib\Galette\Core\Picture.php(606): Galette\Core\Db->execute(Object(Zend\Db\Sql\Select))
#4 C:\xampp183\htdocs\galette\public\trombinoscope.php(54): Galette\Core\Picture->missingInDb(Object(Galette\Core\Db))
#5 {main}