Fix white screen while inside output buffer in PHP Error