Title: Debug flush message
Last modified: August 30, 2016

---

# Debug flush message

 *  [grantdb](https://wordpress.org/support/users/sixer/)
 * (@sixer)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/debug-flush-message/)
 * I am getting a debug message at the bottom of my pages…
 * > Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to delete
   > or flush in /home/mysite/public_html/wp-content/plugins/google-webfont-optimizer/
   > google-webfont-optimizer.php on line 372
 * Any ideas?
 * [https://wordpress.org/plugins/google-webfont-optimizer/](https://wordpress.org/plugins/google-webfont-optimizer/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Marlimant](https://wordpress.org/support/users/marlimant/)
 * (@marlimant)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/debug-flush-message/#post-6395751)
 * The same here.
 *  Thread Starter [grantdb](https://wordpress.org/support/users/sixer/)
 * (@sixer)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/debug-flush-message/#post-6395752)
 * I think this has to do with php output buffering. Whether it is on or not in 
   your php.ini I have been changing back and forth to see the difference if any.
   Altho this I do not use this plugin anymore or google fonts for that matter but
   maybe this could help you track it down.
 *  [noahj-champion](https://wordpress.org/support/users/noahj-champion/)
 * (@noahj-champion)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/debug-flush-message/#post-6395755)
 * Hi,
 * I had this message at one point too.
 * You can delete or comment out 4 lines of code in the plugin to get rid of it.
   Though, I don’t seem to have the issue anymore and having the flush on enables
   my sight to load a little faster with the flush working correctly.
 * The code starts on line 382…
 *     ```
       // The observer flush
   
       	function googlefonts_ob_end_flush() {
       		if (self::gwfo_can_ob())
       			ob_end_flush();
       	}
       ```
   
 * You can change it to this…
 *     ```
       // The observer flush
       /*
       	function googlefonts_ob_end_flush() {
       		if (self::gwfo_can_ob())
       			ob_end_flush();
       	}
       */
       ```
   
 * Or simply delete it.
 *  [noahj-champion](https://wordpress.org/support/users/noahj-champion/)
 * (@noahj-champion)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/debug-flush-message/#post-6395756)
 * This is in file
 * **google-webfont-optimizer.php**
 * to be clear..
 *  [netivity](https://wordpress.org/support/users/netivity/)
 * (@netivity)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/debug-flush-message/#post-6395770)
 * Hello Noahj,
 * I did that and now I get this message…
 * `Warning: call_user_func_array() expects parameter 1 to be a valid callback, 
   class 'GWFO' does not have a method 'googlefonts_ob_end_flush' in /home/domain/
   public_html/wp-includes/plugin.php on line 525`
 * Any ideas?
 * thanks,
 * Netivity

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Debug flush message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-webfont-optimizer.svg)
 * [Google Webfont Optimizer](https://wordpress.org/plugins/google-webfont-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-webfont-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-webfont-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/google-webfont-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-webfont-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-webfont-optimizer/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [netivity](https://wordpress.org/support/users/netivity/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/debug-flush-message/#post-6395770)
 * Status: not resolved