Notice: ob_end_clean() [ref.outcontrol]: failed to delete buffer. No buffer to delete
昨天用本地测试环境(mamp)跑了一下测试项目程序(yii2框架)发现报错:Notice: ob_end_clean() [ref.outcontrol]: failed to delete buffe 最后发现是php的缓存关闭了。
办法:修改 php.ini,output_buffering=off,改为output_buffering=on 开启php缓存。解决了问题。