Support » Requests and Feedback » Can we force plugins to fail "gracefully"?

  • 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi


    Forum Moderator

    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.

    Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can we force plugins to fail "gracefully"?’ is closed to new replies.