se hai eseguito ob_get_flush non hai più niente nel buffer quindi non ti serve ob_end_clean.