Replaced PDO with DBAL