[wp-trac] [WordPress Trac] #47453: WP_Http_Parser warning on plugins page
WordPress Trac
noreply at wordpress.org
Sat Jun 1 07:41:31 UTC 2019
#47453: WP_Http_Parser warning on plugins page
--------------------------+------------------------------------------
Reporter: indeveler | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.0.3
Severity: normal | Keywords: needs-unit-tests needs-patch
Focuses: |
--------------------------+------------------------------------------
Warning: call_user_func() expects parameter 1 to be a valid callback,
class 'WP_Http_Parser' not found.
Happens when update_plugins transient is deleted.
Possible fix:
{{{#!php
// On line 519 (before call_user_func call)
if (class_exists($class)) {
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47453>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list