Fix for “Failed to delete and flush buffer”
-
Running into error (perhaps because minification).
PHP message: PHP Notice: ob_end_flush(): Failed to delete and flush buffer. No buffer to delete or flush in /root/site/wp-content/plugins/meta-generator-and-version-info-remover/meta_generator_and_version_info_remover.php on line 362
The fix for this is to replace the 3 instances in code of:
ob_end_flush();
With:
if(ob_get_length() > 0) { ob_end_flush(); }
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Fix for “Failed to delete and flush buffer”’ is closed to new replies.