Can we force plugins to fail "gracefully"? (3 posts)

  1. wildmercury
    Posted 2 years ago #

    Long-time lurker and secret lover of WP finally gets off backside...

    I've adored what the WP team have done over the last 11 years, and I don't want to ruin our relationship, but one thing has really come to upset me as the amazing plugin phenomenon grows, is the way when a plugin fails it is capable of bringing down the whole site, whether it's a 500 error or a blank page.

    Can we force plugins to fail gracefully? Is there something we can put in the core that will "error check"/run a debug on the plugin at runtime and skip it or placeholder it, instead of letting it bring down the site. I know this would add to server resources and load time, but might it be worth doing? Even if it's an "option" admins can turn on when updating plugins?

    Kisses to all xxx

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Can we force plugins to fail gracefully?

    I'm not sure that this is going to be possible in the foreseeable future. Plugins are so very different that I'm not convinced that an automated error check will ever work. Plus it wouldn't account for things like conflicts between otherwise well-coded plugins.

  3. We've tried it before. In the case of two plugins butting heads, which one wins?

    Also if the plugin breaks the site, how can WP turn it off? :/

    I hate that too.

Topic Closed

This topic has been closed to new replies.

About this Topic