Ciao a tutti,
su due installazioni ho questo errore:
Si è verificato un errore [uid: b50525f].
Uncaught Exception PDOException: "SQLSTATE[21000]: Cardinality violation: 1222 The used SELECT statements have a different number of columns" at /var/www/mav/gest_*/src/Database.php line 288
Come posso risolvere?
Ho installato l'ultima versione di open e il tutto è su una vps ovh.
public function fetchArray($query, $parameters = [], $numeric = false)
{
$mode = empty($numeric) ? PDO::FETCH_ASSOC : PDO::FETCH_NUM;
$statement = $this->getPDO()->prepare($query); <-- riga 288
$statement->execute($parameters);
$result = $statement->fetchAll($mode);
return $result;
}