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

WordPress Trac noreply at wordpress.org
Thu Dec 2 20:34:29 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-patch needs-testing  |     Focuses:
---------------------------------------+---------------------

Comment (by pbiron):

 Replying to [comment:10 jrf]:
 > Just making sure the base information is correct:
 >
 > `Requests_Exception` was not removed. It became namespaced, just like
 every other class. The file was not renamed/moved as it was already called
 `Exception.php`.
 >
 > So the `Exception` you see being thrown in the `Curl` class is still the
 same exception, just namespaced now (and imported via a `use
 WpOrg\Requests\Exception` import statement).

 Sorry if this has been mentioned before (haven't had time to read all the
 comments on this ticket), but...

 Yes, the file is still there, but the class defined in that file changed
 from the unnamespaced `Request_Exception` to simple `Exception` in the new
 namespace.

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


More information about the wp-trac mailing list