• Resolved nicoblue

    (@nicoblue)


    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?

    http://wordpress.org/plugins/events-manager/

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

    (@netweblogic)

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

    don’t know if this will help you
    http://www.effectivesitemarketing.com/error-updating-wordpress-to-version-3-5/

    Thread Starter nicoblue

    (@nicoblue)

    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?

    Thread Starter nicoblue

    (@nicoblue)

    Yes, same error no matter which theme I use.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    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 (aka @msykes)

    (@netweblogic)

    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.

    Thread Starter nicoblue

    (@nicoblue)

    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.
    Nicola

    Thread Starter nicoblue

    (@nicoblue)

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

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    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 (aka @msykes)

    (@netweblogic)

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

    http://wordpress.org/support/topic/fatal-error-on-fresh-install-2?replies=7

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

    Thread Starter nicoblue

    (@nicoblue)

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

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    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.

    Bests
    Lena

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