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