Solve pdo error