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

WordPress Trac noreply at wordpress.org
Mon Nov 4 16:07:41 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            |   Keywords:
-----------------------------+-------------------
 A bunch of my sites experienced the following PHP fatal error when
 attempting to update to 3.7.1 in the background:

 `PHP Fatal error:  Call to a member function abspath() on a non-object in
 /srv/www/example.com/releases/20131030050216/wp/wp-admin/includes/class-
 wp-upgrader.php on line 1339`

 These sites will update manually (on the server) without any problem.
 Indeed, another site on the same server, but with the filesystem method
 forced via filter to 'direct' auto updated without a problem.

 I think this is related to an issue whereby during manual updates, the FTP
 info will pop up momentarily before it proceeds with direct file writes.

 One thing to take into account: this uses Capistrano deploys, so the
 docroot is/srv/www/example.com/current, which is a symlink to the docroot
 path seen above. I don't know if that is somehow resulting in problems.

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


More information about the wp-trac mailing list