Fatal message to Telegram

描述

Fatal message to Telegram monitors your WordPress site for fatal PHP errors and instantly sends detailed crash reports to your Telegram chat.

Built for developers and sysadmins, this plugin provides early crash detection using a custom MU-plugin loader to hook into PHP before other plugins are even initialized.

Features

  • 📡 Sends fatal PHP errors (E_ERROR, E_PARSE, etc.) directly to Telegram
  • ⚙️ Configurable via WordPress admin (Tools > Fatal message to Telegram)
  • 🧱 Loads early using a mu-plugin for maximum reliability
  • 🔐 Automatically installs/removes the loader during plugin activation/remove
  • 💬 Includes developer-friendly helper functions for manual debugging

Helper Functions

Sends a plain string message to your configured Telegram chat.
_fttg(“Just a test string”);

Sends each key-value pair of an array as a separate Telegram message.
_fttg_array([‘a’ => 1, ‘b’ => 2, ‘c’ => ‘hello’]);

External services

This plugin connects to the following external services:

Telegram Bot API

Used to send login alert messages to your Telegram bot/chat.
🔗 Telegram API Docs
📜 Telegram Privacy Policy

Data sent: Chat ID, bot token (from your settings), and message with IP/location/user agent info.
Data is only sent when someone logs in and notifications are enabled.
All data is not stored locally exclude Chat ID, bot token from your settings.

屏幕截图

  • Search for @BotFather in Telegram | Create new bot in @BotFather | Find and copy your chat ID here: https://api.telegram.org/botyour_token/getUpdates
  • Paste bot token and chat ID into plugin settings: Tools > Fatal message to Telegram.

安装

USING WORDPRESS PLUGIN INSTALLER

  1. Go to your WordPress Dashboard, ‘Plugins > Add New’.
  2. Search for ‘Fatal message to Telegram’.
  3. Click ‘Install’ and then ‘Activate’.
  4. Done!

MANUAL INSTALLATION

  1. Download the ‘fatal-to-telegram’ zip file.
  2. Extract the content and copy to the /wp-content/plugins/ directory of your WordPress installation.
  3. Navigate to your WordPress dashboard, ‘Plugins > Installed Plugins’.
  4. Find the ‘Fatal message to Telegram’ plugin and activate.
  5. Done!

СREATE A TELEGRAM BOT

  1. Open Telegram and search for the user @BotFather.
  2. Type /start and follow instructions to create a new bot.
  3. Choose a name and a username for your bot.
  4. After creation, BotFather will send you a token (example: 123456789:ABCdefGHIjkLmnoPQRstuVWxyZ).
  5. Find and copy your chat ID here: https://api.telegram.org/botyour_token/getUpdates.
  6. Paste bot token and chat ID into plugin settings: Tools > Fatal message to Telegram.

常见问题

I installed the plugin but it does not work

  1. Check active checkbox “Enable Notifications” in plugin setting page: Tools > Fatal message to Telegram.
  2. Сheck the correctness of the data input:
    2.1. Token (for example: 0123456789:TOKEN_CHARS)
    2.2. Chat-id (for example: -9876543210)

Is Fatal message to Telegram free?

Fatal message to Telegram is a 100% free WordPress plugin without any limitations on its features.

How to create a Telegram bot?

  1. Open Telegram and search for the user @BotFather.
  2. Type /start and follow instructions to create a new bot.
  3. Choose a name and a username for your bot.
  4. After creation, BotFather will send you a token (example: 123456789:ABCdefGHIjkLmnoPQRstuVWxyZ).
  5. Find and copy your chat ID here: https://api.telegram.org/botyour_token/getUpdates.
  6. Paste bot token and chat ID into plugin settings: Tools > Fatal message to Telegram.

See Screenshots section below for a step-by-step guide with images.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

「Fatal message to Telegram」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Fatal message to Telegram」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • Initial release

1.1

  • [Changed] Change Plugin Name (Fatal to Telegram -> Fatal message to Telegram)
  • [Changed] Change to the prefix function and constant names(ftt -> fttg)
  • [Added] Added information to the setting-page about the operation of the telegram bot and the limitations of the Telegram API

1.2

  • [Fixed] Compliance with the verification Plugin Check (PCP) 1.5.0 standards

1.3

  • [Added] Added translation into Russian

1.4

  • [Added] Added External service Info
  • [Added] Added screenshot and step-by-step guide on how to create a Telegram bot, obtain a token, and find your chat ID.
  • [Added] Tested up to: 6.8.1

1.5

  • [Added] Tested up to: 6.9.1

1.5.1

  • [Changed] Change Plugin logo and banners