Viewing 5 replies - 1 through 5 (of 5 total)
  • The same here.

    Thread Starter grantdb

    (@sixer)

    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.

    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.

    This is in file

    google-webfont-optimizer.php

    to be clear..

    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.