Support » Plugins and Hacks » [Resolved] fatal error when activating plugin

[Resolved] fatal error when activating plugin

  • Whenever I try to activate either the Events Manager or this similar plugin, I get:

    Fatal error: Call to undefined function get_home_path() in …/wp-admin/includes/misc.php on line 128

    I had Events Manager working fine until a while ago. Then tried to update to wp 3.6 and got the fatal error above for the first time. Rolled back to 3.5.2 manually, now I can’t activate the plugin anymore.

    I’m on wp 3.5.2 with Buddypress 1.7.3 installed. Using a child theme with a simple layout.css file and header.php.

    What I have tried so far:
    – a manual re-install of wordpress via FTP
    – manual re-install of buddypress
    – reverting to default Twenty Eleven theme
    – disabling all other plugins

    Is it just a coincidence that the two plugins work with scheduled events? Could it be a time format issue?


Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author Marcus


    NetWebLogic Support

    we don’t even use that function… do other plugins activate ok?

    don’t know if this will help you

    Marcus, yes, all other plugins activate ok.

    mrppp, thanks for the link, that’s exactly what I had tried, and pinned down Events Manager as the plugin triggering the error. Strangely enough the plugin worked in the past.

    It’s possible it could be theme related. If you switch to the default theme, do you get the same error when activating Events Manager?

    Yes, same error no matter which theme I use.



    NetWebLogic Support

    maybe you can try to turn-on WP_DEBUG or check your php logs to see if there’s any other error.

    Plugin Author Marcus


    NetWebLogic Support

    just double check – you’re doing this with all other plugins deactivated and using the default WP theme WHILST activating?

    if so, then I’d probably suggest re-installing WP itself.

    Hi Marcus, just gave it another go. Yes, all other plugins are deactivated and yes, I’m using default WP theme. And I have re-installed WP 3.5.2 manually. No luck.
    Found this if it helps.

    Found also this which is a similar issue involving your plugin, two years ago.

    Plugin Author Marcus


    NetWebLogic Support

    i would say it’s something to do with your specific WP install. otherwise we’d be getting this error reported by many more people. maybe an update to 3.6 may help

    Plugin Author Marcus


    NetWebLogic Support

    someone else reported a similar issue, but fixed it by order of activating EM first –


    if you can list your plugins too, maybe we find the culprit.

    My list of plugins:
    bbpress Like Butoon
    bp Xprofile shortcode (Bowe’s codes)
    GD bbPress Attachments
    Buddypress Group Documents
    Store Locator Plus
    Formidable Forms

    Plugin Author Marcus


    NetWebLogic Support

    I see one plugin you both have – BP Group Documents

    will look into that, please bear in mind this’ll take longer than usual given it’s a rare clash most likely related to another plugin.

    The issue is with the order the plugins are loaded. There is a thread on that – I just nuked the values in the active_plugins table with phpmyadmin and then enabled Events Manager first and enabled all the other plugins and it is working….



    Hi all.
    I’m the developer of BP Group Documents plugin. I believe I have fixed it at version 1.3.
    Please give it a try and let me know if it works or not.


Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘[Resolved] fatal error when activating plugin’ is closed to new replies.