[wp-trac] [WordPress Trac] #25817: PHP Fatal error on background update: $wp_filesystem is not an object

WordPress Trac noreply at wordpress.org
Tue Nov 5 13:30:44 UTC 2013


#25817: PHP Fatal error on background update: $wp_filesystem is not an object
-----------------------------+--------------------
 Reporter:  markjaquith      |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  high             |   Milestone:  3.7.2
Component:  Upgrade/Install  |     Version:  3.7
 Severity:  major            |  Resolution:
 Keywords:  has-patch        |
-----------------------------+--------------------

Comment (by SergeyBiryukov):

 Replying to [comment:2 dd32]:
 > However, `WP_Automatic_Updater` doesn't expect a false return either and
 may fail further down the stack somewhere in the notify emails/etc. as
 they expect `true` or `WP_Error`.

 [attachment:25817.2.patch] makes sure `Core_Upgrader::upgrade()` returns
 `WP_Error` if `fs_connect()` failed.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25817#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list