Object of class PDOStatement could not be converted to string