Home Plugins fatal to telegram
Fatal message to Telegram logo

Fatal message to Telegram

by Phil on WordPress.org

Sends fatal PHP errors to Telegram using an early MU-plugin loader. Ideal for monitoring production crashes.

(0)
Search for @BotFather in Telegram | Create new bot in @BotFather | Find and copy your chat ID here: https://api.telegram.org/botyour_token/getUpdates

Search for @BotFather in Telegram | Create new bot in @BotFather | Find and copy your chat ID here: https://api.telegram.org/botyour_token/getUpdates

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.

Active installations0+
Weekly downloads
46+318.18%
Version1.4.1
Last updated6/15/2025
WordPress version5.3
Tested up to6.8.1
PHP version7.2
Tags
crash reportdebugerror-handlerfatal errortelegram
Fatal message to Telegram | Plugin0