Fix warning when calling ob_end_flush