• Hi everyone! I’m updating a wordpress site for my client – they’re using the theme “Responsive” and were heavily using the Quick Event Manager plugin. After a few updates, and creating a child theme… the site completely breaks now upon activation. The only error that shows in the browser window after activation is “Server 500 Error” Which is now is the furthest thing from specific possible.

    *This doesn’t look to be an issue with the theme as it breaks no matter which theme is active.
    *Is this perhaps a result of the child theme? They weren’t using one before and their only way around it was to NEVER UPDATE THE SITE EVER which made it incredibly unstable.
    *A way I get the site back up is FTP into the root and delete the plugin. This brings the site back up immediately.

    Any advice or suggestions on where to take this?

    • This topic was modified 8 years, 4 months ago by Marcquito.
Viewing 6 replies - 1 through 6 (of 6 total)
  • It’s almost impossible to diagnose the cause of the problem without access to the site.

    It could be a conflict with another plugin, the server configuration, a bad install or a corrupt database.

    But I’m just guessing

    Just experienced the same thing on my site. will try to go in and manually remove the plugin.

    Fatal error: Call to a member function add_cap() on null in /home/n2webwork/n2gardens.com/wp-content/plugins/quick-event-manager/quick-event-manager.php on line 1554

    Site is up but it has taken down my backend. Removing the plugin folder via FTP brought my site back.

    Thank you.

    add_cap() is a WordPress function. All the plugin does is call this function to add capabilities to existing roles and add the ‘Event Manager’ role.

    So if you are getting a fatal error then it may be an issue with your site configuration.

    https://codex.www.ads-software.com/Function_Reference/add_cap

    Thread Starter Marcquito

    (@marcquito)

    I fixed it. The author is correct – this is a wordpress function and it was looking for user roles that were, at the time, non-existant. According to the PHP, there were 3 user types it was searching for, so once I added these users, the plugin worked correctly.

    The only way to really narrow this down is to enable php errors so you can actually see what’s going on and go from there. Once I had the function error, I was able to narrow it down in no time. Thanks for everyone’s replies.

    What roles were missing?

    The plugin is looking for ‘administrator’,’editor’ and ‘event-manager’. The first two are standard WP roles and the third should have been created before the capabilities were set.

    I will add a filter to ignore missing roles.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Plugin is breaking my site!’ is closed to new replies.