[wp-trac] [WordPress Trac] #54562: 5.9-beta1 fails with Uncaught Error: Class 'WpOrg\Requests\Proxy\HTTP' not found in class-wp-http.php:381

WordPress Trac noreply at wordpress.org
Fri Dec 3 07:24:02 UTC 2021


#54562: 5.9-beta1 fails with Uncaught Error: Class 'WpOrg\Requests\Proxy\HTTP' not
found in class-wp-http.php:381
---------------------------+-----------------------------
 Reporter:  alexeydemidov  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  HTTP API       |    Version:  trunk
 Severity:  blocker        |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Our /wp-admin/ broke after installing 5.9-beta1


 {{{
 Fatal error: Uncaught Error: Class 'WpOrg\Requests\Proxy\HTTP' not found
 in /var/www/develop/public/wp-includes/class-wp-http.php:381
 Stack trace:
 #0 /var/www/develop/public/wp-includes/class-wp-http.php(632):
 WP_Http->request()
 #1 /var/www/develop/public/wp-includes/http.php(162): WP_Http->get()
 #2 /var/www/develop/public/wp-content/plugins/<...redacted...>
 wp_remote_get()
 }}}


 We have WP_PROXY_HOST and WP_PROXY_PORT defined in wp-config.php

 Replacing WpOrg\Requests\Proxy\HTTP with WpOrg\Requests\Proxy\Http at wp-
 includes/class-wp-http.php:381 fixed the issue.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54562>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list