Issue #3259723 by kvantstudio: TypeError: PDOStatement::fetchAll(): Argument #2 must be of type int, string given