Support » Plugin: Events Manager » Admin crash when activating events manager

  • Every time I activate Events Manager after instaling it my admin page crashes compleatly. I can´t log in or do anything so I have to use my backup to get it working again. I have tried deactivating all of my other plugins and changeing the theme to WP standard theme 2017 and 2016.

    I´ve also tried to download the plugin directly from Events Managers site and uploding the zipfile and that didn´t work either. Any idea on what´s wrong?

    Thanks for help

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    just to narrow down the problem and help us debug the issue is it possible to try the following temporarily:

    – deactivating all other plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
    – switching to the default theme to rule out any theme-specific problems

    also, you can try to enable wp_debug or check your php logs to see if there’s any other error.

    Admin and pages on front where events widget is displayed.

    Error is on this line in em-events.php:
    $groupby_sql[] = $events_table.’.post_id’; //prevent duplicates showing in lists

    PHP = 7.1.2

    I have seen other fatal errors in EM where they said to add parentheses “[]”, but for my fatal error it helped to remove them, or comment whole line.

    Add parentheses in where?

    @angelo_nwl
    As I wrote in my first message I´ve allready tried deactivating all of the plugins and changeing to the standard theme for 2017. I´ve also tried the standard for 2016.

    I have found another plugin that helps me whith what i need so at the moment I will stick to that due to lack of time and knowledge in PHP errors. But if you can explain how to prevent the error i might tyr it again.

    Thanks for your help any way.

    • This reply was modified 2 years, 11 months ago by noxy.

    I removed “[]” after “groupby_sql” and error is gone.
    I have seen many EM support topics about fatal errors and PHP 7.0 versions where people fixed it by adding “[]” on some other places.

    Now in PHP 7.1.2 I needed to remove them. Or disable this whole line.

    You have to agree this fatal error has nothing to do with other plugins or theme, only PHP version specific.

    Plugin Support caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    Thanks for this info. I’ve passed it on to the Dev team.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Admin crash when activating events manager’ is closed to new replies.