Jump to content
Larry Ullman's Book Forums

Ob_End_Flush(): Failed To Delete And Flush Buffer


Recommended Posts

Hi

I am using the footer script provided often in this book. And i am getting the following error from my website's error email log message. 

 

ob_end_flush(): failed to delete and flush buffer. No buffer to delete or flushArray

 

Is there something we need to do to prevent from getting this error. I looked online and found one answer, can anyone tell me if this is the correct thing to do for this problem. Or should I take another look at my scripts for errors.

 

if (ob_get_level()>1){
ob_end_flush();
}
 
thank you :D
Link to comment
Share on other sites

 Share

×
×
  • Create New...