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

WordPress Trac noreply at wordpress.org
Wed Dec 1 22:58:12 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:  reporter-feedback  |     Focuses:
-------------------------------+---------------------

Comment (by SergeyBiryukov):

 Replying to [comment:15 hellofromTonya]:
 > Yes that is what is expected to happen. The point of the test was to
 validate that the "to" (i.e. 5.9.0) `wp-admin/includes/update-core.php`
 was loaded into memory and being executed. The fact that the older version
 of Gutenberg was deactivated proves that 5.9's version of `update-
 core.php` was the file being executed.
 >
 > Why did we do that check? Because the older versions of HTTP and
 Requests were the ones being executed in memory. We needed to figure out
 if the Updater was the older (i.e. the "from" version) or the new 5.9.0
 version.

 Ah, that's what I was missing. Thanks for the clarification!

 I can confirm that `wp-admin/includes/update-core.php` is indeed
 [source:tags/5.8.2/src/wp-admin/includes/class-core-upgrader.php#L156
 specifically copied from the new package], however the rest of the code,
 including the Requests library, appears to be loaded from the current
 (older) install.

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


More information about the wp-trac mailing list