I am trying to use TDO Mini Forms on a site I'm developing on the latest build of WPMU, but when I activate it, I get the following error:
Fatal error: Call to undefined function wp_get_current_user() in /home/www/wp-includes/capabilities.php on line 446
Any ideas on why this happens?
If it's a regualr WP plugin, I'd say it was because it can't correctly find the right user in MU.
mendezki
Member
Posted 16 years ago #
Inspired by this track ticket in the WPMU forums I added the line
`require_once(ABSPATH . 'wp-includes/pluggable.php');
to tdomf.php on line 500 which seems to have cured the TDOMF ‘Call to undefined function..’ error in WordpressMU. Hope that helps!