[wp-trac] [WordPress Trac] #54546: Fatal error receive while updating WP 5.8.2 to WP 5.9.

WordPress Trac noreply at wordpress.org
Sat Dec 4 19:07:06 UTC 2021


#54546: Fatal error receive while updating WP 5.8.2 to WP 5.9.
--------------------------------------------+---------------------
 Reporter:  apeksha10                       |       Owner:  (none)
     Type:  defect (bug)                    |      Status:  new
 Priority:  normal                          |   Milestone:  5.9
Component:  Upgrade/Install                 |     Version:  trunk
 Severity:  normal                          |  Resolution:
 Keywords:  needs-testing has-patch commit  |     Focuses:
--------------------------------------------+---------------------
Description changed by pbiron:

Old description:

> After updating to 5.9-beta1 via the [xx Beta Tester plugin], I got the
> below error
>
> https://content.screencast.com/users/ApekshaShah/folders/Capture/media
> /8b2bed1a-ca74-4ebc-83c0-c2bb7d0c0eb3/LWR_Recording.png
>
> {{{
> Fatal error: Uncaught Error: Class 'Requests_Exception' not found in
> C:\Users\User\Local Sites\first-localhost\app\public\wp-
> includes\Requests\Transport\cURL.php on line 443
> }}}
>
> I also updated a few other sites on my local machine and I'm getting that
> error on the other sites.
>
> Full information:
>
> {{{
> Unpacking the update...
> Verifying the unpacked files...
> Preparing to install the latest version...
> Enabling Maintenance mode...
> Copying the required files...
> Disabling Maintenance mode...
> Upgrading database...
>
> Fatal error: Uncaught Error: Class 'Requests_Exception' not found in
> C:\Users\User\Local Sites\first-localhost\app\public\wp-
> includes\Requests\Transport\cURL.php on line 443
>
> Error: Class 'Requests_Exception' not found in C:\Users\User\Local Sites
> \first-localhost\app\public\wp-includes\Requests\Transport\cURL.php on
> line 443
> }}}
> Call Stack:
>
> ||= # =||= Function =||= Location =||
> || 1 || `{main}{}` || ..\update-core.php:0 ||
> || 2 || `do_core_upgrade()` || ..\update-core.php:1106 ||
> || 3 || `Core_Upgrader->upgrade()` || ..\update-core.php:887 ||
> || 4 || `update_core()` || ..\class-core-upgrader.php:172 ||
> || 5 || `wp_remote_post()` || ..\update-core.php:1409 ||
> || 6 || `WP_Http->post()` || ..\http.php:179 ||
> || 7 || `WP_Http->request()` || ..\http.php:608 ||
> || 8 || `Requests->request()` || ..\class-http.php:394 ||
> || 9 || `Requests_Transport_cURL->request()` || ..\class-requests.php:381
> ||
> || 10 || `Requests_Transport_cURL->process_response()` || ..\cURL.php:179
> ||

New description:

 After updating to 5.9-beta1 via the [https://wordpress.org/plugins
 /wordpress-beta-tester/ Beta Tester plugin], I got the below error

 https://content.screencast.com/users/ApekshaShah/folders/Capture/media
 /8b2bed1a-ca74-4ebc-83c0-c2bb7d0c0eb3/LWR_Recording.png

 {{{
 Fatal error: Uncaught Error: Class 'Requests_Exception' not found in
 C:\Users\User\Local Sites\first-localhost\app\public\wp-
 includes\Requests\Transport\cURL.php on line 443
 }}}

 I also updated a few other sites on my local machine and I'm getting that
 error on the other sites.

 Full information:

 {{{
 Unpacking the update...
 Verifying the unpacked files...
 Preparing to install the latest version...
 Enabling Maintenance mode...
 Copying the required files...
 Disabling Maintenance mode...
 Upgrading database...

 Fatal error: Uncaught Error: Class 'Requests_Exception' not found in
 C:\Users\User\Local Sites\first-localhost\app\public\wp-
 includes\Requests\Transport\cURL.php on line 443

 Error: Class 'Requests_Exception' not found in C:\Users\User\Local Sites
 \first-localhost\app\public\wp-includes\Requests\Transport\cURL.php on
 line 443
 }}}
 Call Stack:

 ||= # =||= Function =||= Location =||
 || 1 || `{main}{}` || ..\update-core.php:0 ||
 || 2 || `do_core_upgrade()` || ..\update-core.php:1106 ||
 || 3 || `Core_Upgrader->upgrade()` || ..\update-core.php:887 ||
 || 4 || `update_core()` || ..\class-core-upgrader.php:172 ||
 || 5 || `wp_remote_post()` || ..\update-core.php:1409 ||
 || 6 || `WP_Http->post()` || ..\http.php:179 ||
 || 7 || `WP_Http->request()` || ..\http.php:608 ||
 || 8 || `Requests->request()` || ..\class-http.php:394 ||
 || 9 || `Requests_Transport_cURL->request()` || ..\class-requests.php:381
 ||
 || 10 || `Requests_Transport_cURL->process_response()` || ..\cURL.php:179
 ||

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54546#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list