The MU forums have moved to WordPress.org

Fatal error after activating TDO Mini Forms (3 posts)

  1. zarathos
    Member
    Posted 16 years ago #

    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?

  2. andrea_r
    Moderator
    Posted 16 years ago #

    If it's a regualr WP plugin, I'd say it was because it can't correctly find the right user in MU.

  3. 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!

About this Topic

  • Started 16 years ago by zarathos
  • Latest reply from mendezki