[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
Tue Feb 7 19:58:38 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  |     Focuses:
------------------------------+---------------------
Changes (by costdev):

 * keywords:   => has-testing-info


Comment:

 == Testing Instructions
 These steps define how to reproduce the issue, and indicate the expected
 behavior.

 === Steps to Reproduce
 1. Use PHP 5.6.
 2. Set up a 6.1.1 site.
 3. Enable `WP_DEBUG`, `WP_DEBUG_LOG` and `WP_DEBUG_DISPLAY` in `wp-
 config.php`.
 4. Install and activate the `Core Rollback` and `WordPress Beta Tester`
 plugins.
 5. Navigate to `Tools > Rollback Core`.
 6. Select `4.0.38` from the `<select>` element and click **Rollback**.
 7. Navigate to `Dashboard > Updates` and click **Re-install 4.0.38**.
 8. Navigate to `Tools > Beta Testing`.
 9. Select `Bleeding Edge` and `Beta/RC only`. Click **Save Changes**.
 10. :ladybug: Navigate to `Dashboard > Updates` and click **Update now**.

 === Expected Results
 When testing a patch to validate it works as expected:
 - ✅ There is no fatal error.

 When reproducing a bug:
 - ❌ There is a fatal error:

  Fatal error:
  Class 'Requests_Exception' not found in /site/path/wp-
 includes/Requests/Exception/HTTP.php on line 13

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


More information about the wp-trac mailing list