[wp-trac] [WordPress Trac] #25690: PHP Fatal error: Call to undefined function wp_get_current_user() when upgrading to version 3.7

WordPress Trac noreply at wordpress.org
Fri Oct 25 00:56:17 UTC 2013


#25690: PHP Fatal error:  Call to undefined function wp_get_current_user() when
upgrading to version 3.7
-----------------------------+-----------------------------
 Reporter:  ascom            |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  3.6.1
 Severity:  blocker          |   Keywords:
-----------------------------+-----------------------------
 When I just upgraded the WordPress on my server, it brought me to /wp-
 admin/upgrade.php. It was blank. When I checked my server log:

 {{{
 [Thu Oct 24 20:43:04 2013] [error] [client 96.xxx.xxx.xxx] FastCGI: server
 "/usr/lib/cgi-bin/php5-fcgi" stderr: PHP message: PHP Fatal error:  Call
 to undefined function wp_get_current_user() in /var/www/wp-
 includes/user.php on line 215
 }}}

 I haven't tried to reproduce it. Thinking it was something with the
 updater, I downloaded and extracted the update manually (didn't fix it). I
 fixed it by adding {{{require_once("pluggable.php");}}} to the top of
 {{{/wp-includes/capabilities.php}}}. Then it upgraded my database
 successfully.

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


More information about the wp-trac mailing list