Support » Plugins » Fatal error after activating TDO Mini Forms

  • 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 or where to start with troubleshooting?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Probably because I’ve never tested TDOMF in WordPressMU. I don’t really know much about WordPressMU so I never bothered. Is there any documentation on porting plugins from WordPress to WPMU?

    I would like to know the same for another plugin.

    Most plugins work for MU too, but one I have doesn’t.

    What can cause such an error ?

    1. В файле wp-config.php, после всего кода добавить

    2. В файле capabilities.php, после всего кода добавить

    3. После 463 строки, в файле tdomf.php добавить

    if ( !function_exists('tdomf_add_menus') )

    и сделать закрытие после описания функции, тоесть до
    // Load the rest of the plugin! //

    4. После
    // Start/Init/Upgrade //

    if ( !function_exists('tdomf_init') )

    и закрыть после описания функции, тоесть перед строкой: tdomf_db_create_tables();

    5. В файле plugins/tdo-mini-forms/include/tdomf-form.php расскоментить строку 159 и в строке 157 вместо draft вписать publish

    SAKrisT, could you translate your post to English please?

    Thanks SAKrist!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error after activating TDO Mini Forms’ is closed to new replies.