Notice: ob_end_clean() [ref.outcontrol]: failed to delete buffer. No buffer to delete

解决方法一

@ob_end_clean();

解决方法二

if(ob_get_contents()) ob_end_clean();


原文地址:https://www.cnblogs.com/xiaozong/p/5296370.html