Fatal message to Telegram

Fatal message to Telegram

By Phil
Details
View on WordPress

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.

Details

Plugin code:
fatal-to-telegram
Plugin version:
1.5
Author:
Outdated:
No
WP version:
5.3 or higher
PHP version:
7.2 or higher
Test up to WP version:
6.9.1
Total installations:
0
Last updated:
2026-02-26
Rating:
Times rated:
0
crash-report
debug
error-handler
fatal-error
telegram