ob_start moved to header; no more warning showing