Closed jaydiablo closed 8 years ago
I just noticed that this is nearly identical to #13. FWIW I used ob_get_length()
instead of ob_get_contents()
based on discussion here: http://stackoverflow.com/questions/14549110/failed-to-delete-buffer-no-buffer-to-delete
Only executing
ob_clean
if there is a buffer to clean, otherwise throws a “ob_clean(): failed to delete buffer. No buffer to delete” notice, which gets trapped by whoops, informing me of the wrong error. :)