Linux 软件免费装
Banner图

Plug Error Handler

开发者 monzur
更新时间 2025年6月4日 14:20
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

safety fatal error plugin conflict error handler parse error

下载

1.0.2

详情介绍:

Plug Error Handler is a lightweight and safety-focused WordPress plugin that helps prevent white screens or fatal crashes caused by problematic plugins. It does this by automatically detecting and deactivating any plugin that throws a PHP fatal error or parse error during activation or update. It’s designed to ensure a smooth admin experience by intercepting site-breaking issues at the moment they occur. 🔐 Key Features ⚠️ Limitations

安装:

  1. Upload the plugin folder plug-error-handler to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. That’s it! The plugin runs silently in the background.

升级注意事项:

1.0.2 Supports both plugin activation and plugin update safety handling. Update recommended for enhanced protection.

常见问题:

What does this plugin actually do?

It monitors for PHP fatal errors, parse errors, and similar fatal conditions during plugin activation or update. If such an error occurs, it immediately deactivates the plugin and prevents your site from breaking.

How does it detect errors?

It uses register_shutdown_function() to catch fatal errors via error_get_last() and uses the $_GET['plugin'] and $_GET['action'] values to identify which plugin was being activated or updated.

Does it protect from runtime plugin errors?

No. It only works at the time of plugin activation or plugin update. Runtime errors (which occur after a plugin has been successfully activated) are not handled.

Does it protect against JavaScript or CSS errors?

No, this plugin only handles PHP errors. It does not analyze or mitigate issues from JavaScript or stylesheets.

Will this plugin conflict with other admin plugins?

No. It's built to be conflict-free and only activates its logic when a plugin is being activated or updated.

Can I see logs or history of plugin errors?

No logs are stored to the database to keep this plugin lightweight. You’ll only see an admin notice if a plugin was automatically deactivated due to an error.

更新日志:

1.0.2 1.0.1