[wp-trac] [WordPress Trac] #57662: Error from _preload_old_requests_classes_and_interfaces on update from 4.0.38 to 6.2-beta1

WordPress Trac noreply at wordpress.org
Wed Feb 8 13:44:53 UTC 2023


#57662: Error from _preload_old_requests_classes_and_interfaces on update from
4.0.38 to 6.2-beta1
----------------------------------------+---------------------
 Reporter:  afragen                     |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  6.2
Component:  Upgrade/Install             |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  has-testing-info has-patch  |     Focuses:
----------------------------------------+---------------------

Comment (by antonvlasenko):

 == Test Report

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/4029

 Test instructions provided by @ironprogrammer:
 https://gist.github.com/ironprogrammer/1aaff6f60b263c1842e3584365729ffc

 === Environment
 * Hardware: Mac mini M1
 * `wp-env`
 * OS: macOS 13.1
 * PHP: 5.6.39
 * WordPress: 6.2-beta1
 * Browser: Safari 16.2
 * Theme: Twenty Twelve
 * Active Plugins:
   * core-rollback v1.3.4
   * wordpress-beta-tester v3.2.7
   * fake-wordpress-update (see the test instructions above)

 === Actual Results

 When reproducing a bug:
 - ❌ "Fatal error: Class 'Requests_Exception'" occurred when attempting to
 update.
 [[Image(https://cldup.com/KmAMF2VzV5.png)]]
 When testing a patch to validate it works as expected:
 - ✅ "Fatal error: Class 'Requests_Exception'" occurred when attempting to
 update.
 [[Image(https://cldup.com/FVzpoosr_z.png)]]

 === Notes
 If you are testing the patch on `wp-env`:
 1. You may need to use this workaround to install WordPress on PHP 5.6:
 https://github.com/WordPress/gutenberg/issues/40745#issuecomment-1422471660
 2. Also, when creating a custom WordPress package, you will need to upload
 it to a server accessible from the Internet (I used GitHub). Otherwise,
 WordPress will not see it (due to `wp-env`).

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


More information about the wp-trac mailing list