开发者 | rudlinkon |
---|---|
更新时间 | 2025年6月1日 11:28 |
PHP版本: | 7.0 及以上 |
WordPress版本: | 6.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
fatal-error-handler.php
file in your wp-content directoryfatal-plugin-auto-deactivator
folder to the /wp-content/plugins/
directoryfatal-error-handler.php
) in your wp-content directoryNo, Fatal Plugin Auto Deactivator works automatically right after activation with no configuration required.
No, the plugin only activates its core functionality during the PHP shutdown phase and only takes action when a fatal error is detected.
The plugin catches fatal PHP errors, parse errors, and other critical errors that would normally crash your site.
Yes, an admin notice will be displayed in your WordPress dashboard showing which plugin was deactivated and the specific error that caused it.
Yes, you can reactivate the plugin through the normal WordPress plugins page. However, be aware that if the issue hasn't been fixed, the plugin will be deactivated again if it causes another fatal error.
The current version is designed for standard WordPress installations. Multisite support may be added in future updates.
The plugin analyzes the error stack trace to identify which plugin file triggered the fatal error, then deactivates only that specific plugin.
This plugin specifically targets fatal PHP errors that would normally make your site inaccessible. It doesn't handle warnings, notices, or other non-fatal errors.
A drop-in is a special type of WordPress file that replaces core functionality. This plugin uses the fatal-error-handler.php
drop-in to ensure it can handle errors even when other plugins fail. The drop-in is automatically installed when you activate the plugin and removed when you deactivate it.
No, the drop-in is specifically designed for fatal error handling and won't conflict with other plugins. If another plugin tries to install its own fatal error handler drop-in, this plugin will detect it and avoid overwriting it.
For security reasons, detailed error information (file paths, line numbers, error messages) is only displayed when WP_DEBUG_DISPLAY is enabled in your WordPress configuration. When disabled, visitors see a generic error message while administrators still receive detailed notifications in the dashboard.
Error logs are stored in your WordPress database as options. The plugin maintains both temporary logs (for admin notifications) and permanent logs (for troubleshooting history). You can view these through your WordPress admin dashboard.