[wp-trac] [WordPress Trac] #22430: wp_ob_end_flush_all bug when zlib.output_compression = On
WordPress Trac
noreply at wordpress.org
Tue Oct 22 14:07:25 UTC 2019
#22430: wp_ob_end_flush_all bug when zlib.output_compression = On
-------------------------------------+------------------------------
Reporter: Matthias Reuter | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 2.8
Severity: major | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+------------------------------
Comment (by autotutorial):
To understand what happens, let's take a step back to the source of this
error {{{
Notice: ob_end_flush() [ref.outcontrol]: failed to delete buffer zlib
output compression in /wp-includes/functions.php on line 2683
}}}
ob_end_flush can return false and issue Notice when something goes wrong.
the zlib buffer cannot be closed, rather than relying with ob_get_level a
code can be processed with ob_list_handlers() which indicates whether
outup_buffering (output_buffering INI ALL or ob_start with or without
callback) is in use Only one compression buffer can exist at a time.
With zlib.output_compression enabled, what does ob_list_handlers() return?
please you can do a test because I can't but I would like assistance in
the solution.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22430#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list