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);
}