[wpmu-trac] Re: [WordPress MU Trac] #384: Call to undefined
function: wp_get_current_user()
WordPress MU Trac
wpmu-trac at lists.automattic.com
Thu Feb 14 14:27:25 GMT 2008
#384: Call to undefined function: wp_get_current_user()
------------------------+---------------------------------------------------
Reporter: omry | Owner: somebody
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: component1 | Version: 1.0
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Changes (by RavanH):
* status: closed => reopened
* resolution: invalid =>
Comment:
Got the same error while activating plugins eShop and YAK (installed in
the plugins directory) and the whole MU system would break until plugin
was removed...
{{{
PHP Fatal error: Call to undefined function wp_get_current_user() in
/home/httpd/vhosts/4visions.nl/httpdocs/wpmu/wp-includes/capabilities.php
on line 446, referer: http://4visions.nl/wpmu/wp-admin/plugins.php
}}}
After poking around I found that when I add the line
{{{
require_once('pluggable.php');
}}}
to capabilities.php, the error disappears and all works well.
I am running WPMU 1.3.3
Related forum post:
http://mu.wordpress.org/forums/topic.php?id=7393&page&replies=9#post-45081
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/384#comment:2>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list