Title: Fatal Error Notify
Author: Jack Arturo
Published: <strong>2017 年 10 月 24 日</strong>
Last modified: 2026 年 2 月 12 日

---

搜索插件

![](https://ps.w.org/fatal-error-notify/assets/banner-772x250.png?rev=3459916)

![](https://ps.w.org/fatal-error-notify/assets/icon-256x256.png?rev=3459916)

# Fatal Error Notify

 作者：[Jack Arturo](https://profiles.wordpress.org/verygoodplugins/)

[下载](https://downloads.wordpress.org/plugin/fatal-error-notify.1.5.4.zip)

 * [详情](https://cn.wordpress.org/plugins/fatal-error-notify/#description)
 * [评价](https://cn.wordpress.org/plugins/fatal-error-notify/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/fatal-error-notify/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/fatal-error-notify/#developers)

 [支持](https://wordpress.org/support/plugin/fatal-error-notify/)

## 描述

This plugin sends you an email notification whenever a fatal error (or other error
level, configurably) is detected on your site.

Unlike traditional uptime monitoring services, which will only notify you if your
entire site is down, this plugin can notify you when an error is detected on any
page or process on your site.

Automatic plugin and theme updates often introduce problems that you aren’t aware
of until they’re reported by your visitors. Fatal Error Notify lets you address 
these issues as they occur and before they cause significant problems.

## 屏幕截图

 * [[
 * Admin configuration settings
 * [[
 * Example email received when an error has been reported

## 安装

Install it just like any other WordPress plugin:

Either: Upload the plugin files to the `/wp-content/plugins/fatal-error-notify` 
directory.
 Or: Install the plugin through the WordPress plugins screen directly.

Then:
 1. Activate the plugin through the ‘Plugins’ screen in WordPress 2. Use the
Settings->Fatal Error Notify screen to configure notification settings

## 常见问题

### How does the plugin send error notifications if my site is down?

Fatal Error Notify hooks into PHP’s “shutdown” function to send notifications right
before the page stops loading. Even the dreaded “500 – Internal Server Error” still
triggers PHP’s shutdown actions. Even if your site is completely offline, in most
cases this plugin will be able to detect the error and notify you.

### What’s in the Pro version

[Fatal Error Notify Pro](https://fatalerrornotify.com/?utm_campaign=fatal-error-notify-free&utm_source=wp-org)
includes several additional features, like Slack notifications, the ability to hide
the plugin settings, multisite support, logging of recorded errors, out of memory
handling, the ability to pause individual notifications, and more.

Fatal Error Notify Pro also includes integrations with Gravity Forms, WooCommerce,
WPForms, [WP Fusion](https://wpfusion.com/?utm_campaign=fatal-error-notify-free&utm_source=wp-org),
and WP Mail SMTP and can send notifications when errors are logged in those plugins.

### Can I exclude specific errors?

Yes, you can use the filter `fen_ignore_error`, like so:

    ```
    function fen_ignore_error( $ignore, $error ) {

        if( $error['file'] == '/home/username/public_html/wp-includes/class-phpass.php' ) {
            $ignore = true;
        }

        return $ignore;

    }

    add_filter( 'fen_ignore_error', 'fen_ignore_error', 10, 2 );
    ```

The `$error` variable is an array containing:

 * `$error['type']`: (int) The PHP [error code](http://php.net/manual/en/errorfunc.constants.php)
 * `$error['message']`: (string) The error message
 * `$error['file']`: (string) The path to the file that triggered the error
 * `$error['line']`: (int) The line number that triggered the error

### Does it support WP CLI

Yup, you bet! You can update the plugin settings using WP CLI, for example to set
a default list of error levels, or a notification email address.

The two methods are `get_option` and `update_option`. For example:

    ```
    wp fatal-error-notify get_option slack_notifications
    ```

Will tell you if Slack notifications are enabled on the site.

    ```
    wp fatal-error-notify update_option notification_email email@domain.com
    ```

Will update the notification email for the site.

You can also update options on multiple sites using xargs:

    ```
    wp site list --field=url | xargs -n1 -I {} sh -c 'wp --url={} fatal-error-notify update_option notification_email email@domain.com'
    ```

If you are updating options that are stored as arrays (for example `levels` or `
plugins`) you can use JSON-formatted values. For an example, use `get_option` first
on the field you are trying to update.

## 评价

![](https://secure.gravatar.com/avatar/9786181f2ac82df1c2b05de1899533eadab7a16b5e6f7462d0c11f6abe6af6bd?
s=60&d=retro&r=g)

### 󠀁[You need the Pro version](https://wordpress.org/support/topic/you-need-the-pro-version/)󠁿

 [Li-An](https://profiles.wordpress.org/li-an/) 2026 年 3 月 10 日 4 回复

Last version adds notifications for some EXIF problems. You cannot deactivate this
if you don’t pay. Goodbye.

![](https://secure.gravatar.com/avatar/10db8cd11d5b09acbcef661d848bcfe2029f8e237bbf84d0509a7e937b382cad?
s=60&d=retro&r=g)

### 󠀁[Plugin doesn’t work, throws error](https://wordpress.org/support/topic/plugin-doesnt-work-throws-error/)󠁿

 [jogurtt](https://profiles.wordpress.org/jogurtt/) 2025 年 4 月 15 日 3 回复

PHP Fatal error: Uncaught Error: Call to undefined function fatal_error_notify_test_error_function()
in /wp-content/plugins/fatal-error-notify/includes/admin/class-admin.php:68

![](https://secure.gravatar.com/avatar/b74a61c88d2d1a6a426e013e6554cc5bb6601219436c863fdac241335b50afbb?
s=60&d=retro&r=g)

### 󠀁[Really useful little plugin](https://wordpress.org/support/topic/really-useful-little-plugin/)󠁿

 [tufty](https://profiles.wordpress.org/tufty/) 2025 年 2 月 18 日 1 回复

Pretty much all great. Thank you. It’s really useful.

![](https://secure.gravatar.com/avatar/e35daa6331cd14521d5cdf9d2b7ec23988551302eb6236cafac3038248d6fdfc?
s=60&d=retro&r=g)

### 󠀁[Fast responses and does what it should.](https://wordpress.org/support/topic/fast-responses-and-does-what-it-should/)󠁿

 [Miikka](https://profiles.wordpress.org/miikkamakela/) 2024 年 1 月 11 日 1 回复

Nothing bad to say at least up until now. 😃

![](https://secure.gravatar.com/avatar/75fe12f61d513a57962cc592154576ba37bf9df7848c73f18bfcedff68114904?
s=60&d=retro&r=g)

### 󠀁[Fantastic plugin that I can’t live without](https://wordpress.org/support/topic/fantastic-plugin-that-i-cant-live-without/)󠁿

 [Dale Reardon](https://profiles.wordpress.org/dalereardonmdm/) 2023 年 8 月 12 
日 1 回复

This is an amazing plugin that will save you so much time. The Pro upgrade is also
really worth it and the support from the developer is some of the best I have ever
experienced. The plugin really helps you pinpoint and diagnose errors, often well
before you would notice them visually on the frontend of the site. Getting the error
stack trace from the plugin also really helps you get better support from other 
plugin devs when their plugin has an error on your site. Highly recommended. Dale.

![](https://secure.gravatar.com/avatar/d0c02370afdabf50b520d968bcf12911f7dd65a9fe8ba8984575277244621127?
s=60&d=retro&r=g)

### 󠀁[BEST PLUGIN – PERIOD](https://wordpress.org/support/topic/best-plugin-period/)󠁿

 [Steve](https://profiles.wordpress.org/aksteve/) 2023 年 5 月 30 日 1 回复

Shame on WordPress for notifying us of fatal errors but supplying no information.
And HUGE KUDOS to the creators of this plugin who picked up the slack. This plugin
will let you know WHERE the fatal error occurred, which is vital when troubleshooting.
Why WordPress doesn’t do this is a mystery. WordPress just get less and less user-
friendly. It’s plugins like this that help make WordPress better. HEY WORDPRESS –
TAKE A LESSON FROM THIS PLUGIN. This is a HELPFUL plugin and it is USER-FRIENDLY.
Unfortunately, all things that WordPress is slowly no longer being….

 [ 阅读所有18条评价 ](https://wordpress.org/support/plugin/fatal-error-notify/reviews/)

## 贡献者及开发者

「Fatal Error Notify」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jack Arturo ](https://profiles.wordpress.org/verygoodplugins/)

「Fatal Error Notify」插件已被翻译至 4 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/fatal-error-notify/contributors)
为本插件所做的贡献。

[帮助将「Fatal Error Notify」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/fatal-error-notify)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/fatal-error-notify/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/fatal-error-notify/)，或通过[RSS](https://plugins.trac.wordpress.org/log/fatal-error-notify/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/fatal-error-notify/)。

## 更新日志

#### 1.5.4 – 2/12/2026

 * Tested for WordPress 6.9
 * Added – Memory reservation for better out-of-memory error handling
 * Added – Settings link on the plugins page
 * Added – Automatically deactivate the free version when Pro is activated
 * Added – Object cache support for rate limiting
 * Added – `fen_rate_limit_time` filter for customizing the rate limit duration
 * Improved – Notifications now include the full request URL with protocol and domain
 * Improved – Server paths are now stripped from file paths in notifications
 * Improved – Out-of-memory error messages are normalized to prevent duplicate notifications
 * Improved – “chmod” warnings are now ignored by default
 * Improved – Better referrer handling (hidden when same as request URL)
 * Improved – User login name is now shown instead of just the user ID
 * Improved – Test notifications no longer call an undefined function
 * Fixed – Deprecated constant `E_STRICT` removed for PHP 8.4 compatibility
 * Fixed – Rate limiting now properly includes the file path in the hash

#### 1.5.3 – 1/12/2024

 * Tested for WordPress 6.5.0
 * Added nonce further secure to admin test error action

#### 1.5.2 – 1/5/2024

 * Improved – Removed some uncommon error types
 * Fixed test error endpoint being accessible by non-admins

#### 1.5.1 – 8/11/2023

 * Tested for WordPress 6.3.0
 * Improved – “mkdir” warnings will be ignored by default

#### 1.5.0 – 3/20/2023

 * Tested for WordPress 6.2.0
 * Added [WP CLI endpoint](https://fatalerrornotify.com/documentation/#wp-cli) for
   updating plugin settings

#### 1.4.7 – 11/14/2022

 * Fixed typo (misplaced parenthesis) checking `WARNING` level errors in v1.4.6

#### 1.4.6 – 11/1/2022

 * Tested for WordPress 6.1.0
 * Improved – Moved actions to `shutdown` action priority 1, to fix cases where 
   other plugins generate notices or warnings during `shutdown` after a fatal error
 * Improved – “rmdir” warnings will be ignored by default
 * Fixed `unlink` warnings still triggering notifications if `unlink` was the first
   part of the error string

#### 1.4.5 – 2/15/2022

 * Tested for WordPress 5.9
 * Improved – “unlink” warnings will be ignored by default (see https://wordpress.
   org/support/topic/wordfence-notification-error-wordfenceclass-php/#post-15187940)
 * Added upgrade prompt in notification email

#### 1.4.4 – 8/3/2021

 * Tested for WordPress 5.8
 * Moved upgrade nag to top of settings page to prevent layout issues on smaller
   screens

#### 1.4.3 – 12/16/2020

 * Tested for WordPress 5.6
 * Fixed PHP notice when HTTP referrer was missing
 * Added fen_use_wp_mail filter

#### 1.4.2 – 4/3/2020

 * Tested for WordPress 5.4
 * Added error level descriptions

#### 1.4.1 – 11/27/2019

 * Tested for WordPress 5.3

#### 1.4 – 4/26/2019

 * Added request URI, HTTP Referrer, and current user ID to notifications

#### 1.3 – 4/21/2018

 * Added “Send Test” button
 * Rate limiting so notifications are only sent once per hour

#### 1.2 – 2/8/2018

 * Added filter to ignore errors

#### 1.1

 * Updated branding
 * Added link to Pro version

#### 1.0

 * Initial release

## 商业插件

该插件免费，但提供额外的付费商业升级或支持服务。 [查看帮助](https://fatalerrornotify.com/support/contact/?utm_campaign=free-plugin&utm_source=wp-org&utm_term=commercial-plugin)

## 额外信息

 *  版本 **1.5.4**
 *  最后更新：**4 月前**
 *  活跃安装数量 **6,000+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/fatal-error-notify/) 、 [Portuguese (Portugal)](https://pt.wordpress.org/plugins/fatal-error-notify/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/fatal-error-notify/) 、 [Spanish (Spain)](https://es.wordpress.org/plugins/fatal-error-notify/)
   和 [Swedish](https://sv.wordpress.org/plugins/fatal-error-notify/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/fatal-error-notify)
 * 标签
 * [debugging](https://cn.wordpress.org/plugins/tags/debugging/)[error](https://cn.wordpress.org/plugins/tags/error/)
   [fatal](https://cn.wordpress.org/plugins/tags/fatal/)[notification](https://cn.wordpress.org/plugins/tags/notification/)
   [reporting](https://cn.wordpress.org/plugins/tags/reporting/)
 *  [高级视图](https://cn.wordpress.org/plugins/fatal-error-notify/advanced/)

## 评级

 4.8 星（最高 5 星）。

 *  [  16 条 5 星评价     ](https://wordpress.org/support/plugin/fatal-error-notify/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/fatal-error-notify/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/fatal-error-notify/reviews/?filter=3)
 *  [  1 条 2 星评价     ](https://wordpress.org/support/plugin/fatal-error-notify/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/fatal-error-notify/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/fatal-error-notify/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/fatal-error-notify/reviews/)

## 贡献者

 *   [ Jack Arturo ](https://profiles.wordpress.org/verygoodplugins/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/fatal-error-notify/)