You should remove those lines because they are staying that the file type should be served with gzip. But w3tc is also saying to serve it with gzip.
Or you can disable gzip in the w3tc browser cache settings.
Hi Destac, thanks for the quiqly reply.
No, I tried deleting those lines and other error appears with wp_ob_end_flush_all in another file (/wp-includes/plugin.php). I also tried disabling gzip in w3tc, but the error persist.
You could try switching the page cache module to basic. But i think it’s the case of a theme issue or one that is poorly designed.
These are the errors after deleting the lines that I post before:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘wp_ob_end_flush_all’ not found or invalid function name in /www/matiasfumazoni/htdocs/wp-includes/plugin.php on line 525
Warning: Parameter 1 to W3_Plugin_TotalCache::ob_callback() expected to be a reference, value given in Unknown on line 0
And these are the lines involved:
do {
foreach ( (array) current($wp_filter[$tag]) as $the_ )
if ( !is_null($the_[‘function’]) )
call_user_func_array($the_[‘function’], array_slice($args, 0, (int) $the_[‘accepted_args’]));
} while ( next($wp_filter[$tag]) !== false );
array_pop($wp_current_filter);
}
Disable database, and object caching if you have them running.
Yes, those options were disabled.
I decided to uninstall W3TC, and install WPSC, and its working fine so far.
I wasn’t able to find a solution to my issue, so I opted for change the plugin.
Anyway, I still having a slow load page speed.