[wp-trac] [WordPress Trac] #54547: Fatal error when updating to 5.9 Beta 1 WP-CLI on LocalWP

WordPress Trac noreply at wordpress.org
Wed Dec 1 07:42:05 UTC 2021


#54547: Fatal error when updating to 5.9 Beta 1 WP-CLI on LocalWP
--------------------------+-----------------------------
 Reporter:  nielslange    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  blocker       |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 **Steps to reproduce**

 1. Create a fresh test site using [LocalWP](https://localwp.com/).
 2. Open site shell and run the command `wp core update
 --version=5.9-beta1`.

 **Expected behavior**

 No error should occur, and the WordPress should be updated to version 5.9
 Beta 1.

 **Current behavior**

 The following fatal error occurs:


   Fatal error: Uncaught Error: Class 'WpOrg\Requests\Iri' not found in
 /Users/nielslange/Local Sites/wp59/app/public/wp-
 includes/Requests/Requests.php on line 682

   Error: Class 'WpOrg\Requests\Iri' not found in /Users/nielslange/Local
 Sites/wp59/app/public/wp-includes/Requests/Requests.php on line 682

 This is the call stack:

 || # || Time || Memory || Function || Location ||
 || 1 || 0.0002 || 413128 || {main}( ) || .../plugins.php:0 ||
 || 2 || 0.0002 || 420008 || require_once( '/Users/nielslange/Local
 Sites/wp59/app/public/wp-admin/admin.php' ) || .../plugins.php:10 ||
 || 3 || 0.1128 || 3948296 || do_action( ) || .../admin.php:385 ||
 || 4 || 0.1128 || 3948672 || WP_Hook->do_action( ) || .../plugin.php:470
 ||
 || 5 || 0.1128 || 3948672 || WP_Hook->apply_filters( ) || .../class-wp-
 hook.php:327 ||
 || 6 || 0.1128 || 3949800 || wp_update_plugins( ) || .../class-wp-
 hook.php:303 ||
 || 7 || 0.1169 || 4023152 || wp_remote_post( ) || .../update.php:404 ||
 || 8 || 0.1169 || 4023152 || WP_Http->post( ) || .../http.php:179 ||
 || 9 || 0.1169 || 4023528 || WP_Http->request( )        .../class-wp-
 http.php:614 ||
 || 10 || 0.1170 || 4028984 || WpOrg\Requests\Requests::request( ) ||
 .../class-wp-http.php:394 ||
 || 11 || 0.1170 || 4030440 || WpOrg\Requests\Requests::set_defaults( ) ||
 .../Requests.php:452 ||

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


More information about the wp-trac mailing list