
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.