Jump to content
Larry Ullman's Book Forums
Sign in to follow this  
grahamgr3

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...