Update class.ShareCenter.php

Add ob_flush(); to flush buffer in case of output_buffering can not be changed