Safe Mode – Fatal Error Recovery
Recover from fatal errors: detects the plugin or theme that crashed your site, disables it and restores access to wp-admin.
Solid choice
Safe Mode – Fatal Error Recovery is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 1 week ago, and scores 64/100 on our health check.
- Actively developed — last update 1 week ago
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Safe Mode stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| fatal error | >100 |
| plugin recovery | >100 |
| recovery | >100 |
| safe mode | #98 |
| theme recovery | >100 |
About Safe Mode – Fatal Error Recovery
From the official readme · v1.1.2Description
NaveenCodes Safe Mode helps restore access after fatal plugin or theme crashes. It detects fatal PHP shutdown errors, identifies whether the source is a plugin or theme, performs the configured recovery action, records detailed logs, stores recovery history, shows persistent admin notices, and emails administrators.
Plugin page and step-by-step guides: naveencodes.com/safe-mode
The plugin does not modify, rewrite, or repair user code. Version 1 is focused only on detection, disabling, recovery, logging, and notification.
Version 1 Architecture
- Namespace:
NaveenCodes\SafeMode - Prefix:
ncsm_ - Text domain:
naveencodes-safe-mode - Bootstrap:
naveencodes-safe-mode.php - Autoloading: lightweight PSR-4 style autoloader for
includes/ - Composition root:
includes/Core/Plugin.php - Service boundaries:
Core: activation, deactivation, settings, plugin bootstrappingDatabase: custom table schemaRecovery: shutdown detection, source detection, queueing, plugin/theme recovery, notificationsLogging: error logs and recovery history persistenceAdmin: dashboard, logs, history, settings, notices, coming soon UIHelpers: focused WordPress helper utilitiesInterfaces: shared service contracts
Database Schema
wp_ncsm_logs
idtimestamperror_typeerror_messagefile_pathline_numbersource_typesource_nameaction_taken-
recovery_statuswp_ncsm_recovery_history
-
id timestampsource_typesource_namerecovery_actionrecovery_result
Recovery Workflow
- Register a shutdown function early on
plugins_loaded. - Inspect
error_get_last()on shutdown. - Continue only for fatal, parse, compile, core, user, or recoverable fatal errors.
- Detect source from the error file path:
wp-content/plugins/...becomes a plugin source.wp-content/themes/...becomes a theme source.- Anything else is stored as Unknown Source.
- Check recovery queue attempts for the source.
- If the source is a plugin and plugin auto-disable is enabled, deactivate the faulty plugin.
- If the source is the active theme and theme recovery is enabled, switch to the configured fallback theme.
- Log the error and recovery action.
- Store recovery history.
- Add a persistent admin notice.
- Send an administrator email when enabled.
WordPress Hooks
plugins_loadedboots the plugin.register_shutdown_function()detects fatal shutdown errors.admin_menuregisters the admin pages.admin_enqueue_scriptsloads admin assets.admin_noticesrenders persistent recovery notices.admin_post_ncsm_save_settingssaves settings.admin_post_ncsm_export_logsexports logs.admin_post_ncsm_dismiss_noticedismisses recovery notices.
Admin Pages
- Dashboard: protection status, statistics, recovery workflow, and theme snapshot status.
- Error Logs: fatal error log table, filters, and CSV export.
- Recovery History: source, action, result, and timestamp.
- Theme Snapshot: take, replace, restore, or delete the active theme backup.
- Settings: recovery toggles, notifications, fallback theme, retention, maximum attempts.
- Coming Soon: planned feature previews only.
Settings
- Enable Recovery
- Enable Plugin Auto Disable
- Enable Theme Recovery
- Enable Email Notifications
- Fallback Theme Selector
- Log Retention Period
- Maximum Recovery Attempts
Coming Soon
The following features are displayed as UI-only cards and are not implemented in Version 1:
- Automatic Rollback
- Update Sandbox Testing
- Code Snippet Protection
- AI Error Analysis
- Slack Notifications
- Cloud Backups
- Uptime Monitoring
- One Click Restore
Security
Version 1 uses capability checks, nonces, sanitization, escaping, WordPress database APIs, and prepared SQL for dynamic values. It performs no tracking, no hidden data collection, no remote code execution, and no unsafe file rewriting.
Need custom WordPress work?
This plugin is free, with no paid version, and it stays that way. If you need something it doesn’t do, such as a custom plugin, an integration or help with a broken site, I also take on custom development work for businesses and agencies: naveencodes.com
Installation
- Upload the
naveencodes-safe-modefolder to/wp-content/plugins/. - Activate the plugin from the WordPress Plugins screen.
- Go to Safe Mode > Settings and choose a fallback theme.
Changelog
1.1.2
- Plugin renamed from “NaveenCodes Safe Mode” to “Safe Mode – Fatal Error Recovery” to describe what it does more clearly. No change to features or settings.
1.1.1
- Tested with WordPress 7.1: activation, every admin screen (Dashboard, Error Logs, Recovery History, Theme Snapshot, Settings) and the admin styles and scripts verified on WordPress 7.1 with PHP 8.2, with no warnings or deprecation notices.
1.1.0
- Added: Theme Snapshot — copies the active theme (and parent if child theme) to a backup folder on activation. If the active theme causes a fatal error, Safe Mode automatically switches to the snapshot backup instead of the generic fallback theme.
- Added: Theme Snapshot admin page (Safe Mode › Theme Snapshot) — shows snapshot status, taken-at date, backup folder name. Buttons to take, replace, restore, or delete the snapshot.
- Added: Snapshot status panel on the Dashboard — shows at a glance whether a snapshot is ready, active (after a crash), or missing.
- Added: “Restore Original Theme” button in recovery admin notices — appears when the snapshot backup is the currently active theme after a crash.
- Added: Child theme support — when the active theme is a child theme, the parent theme is also backed up and the child backup’s Template header is updated to point to the parent backup.
1.0.3
- Added: Review request notice — shown after 7 days of active use, with options to review on WordPress.org, mark as already reviewed, or snooze for 14 days. Only one NaveenCodes notice appears per day across all plugins.
1.0.2
- Fixed: Plugin URI corrected to the WordPress.org plugin page — “View plugin” now links correctly in the plugins list.
1.0.1
- Added: Maa tribute in the WP admin footer — shown on every Safe Mode screen, matching all other NaveenCodes plugins.
Screenshots
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Safe Mode alternatives
All fatal error plugins →FAQ
Safe Mode – Fatal Error Recovery: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Safe Mode – Fatal Error Recovery free?
Yes. Safe Mode – Fatal Error Recovery is free to download and use from the official WordPress.org plugin directory.
Is Safe Mode – Fatal Error Recovery safe to use in 2026?
Safe Mode – Fatal Error Recovery is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 1 week ago, and scores 64/100 on our health check.
How many websites use Safe Mode – Fatal Error Recovery?
Safe Mode – Fatal Error Recovery is active on <10 WordPress websites and has been downloaded 802 times since it launched in June 2026. It was downloaded 177 times in the last 30 days.
Does Safe Mode – Fatal Error Recovery work with WordPress 7.1?
Yes. The developer has tested Safe Mode – Fatal Error Recovery up to WordPress 7.1.5, the latest release. It requires WordPress 6.5 or newer.
What PHP version does Safe Mode – Fatal Error Recovery need?
Safe Mode – Fatal Error Recovery requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Safe Mode – Fatal Error Recovery last updated?
The latest version, 1.1.2, was released on November 24, 2026 (1 week ago).
Who makes Safe Mode – Fatal Error Recovery?
Safe Mode – Fatal Error Recovery is developed and maintained by Naveen Goyal.
What are the best alternatives to Safe Mode – Fatal Error Recovery?
The most popular alternatives to Safe Mode – Fatal Error Recovery are Error Sniffing Pug (100+ installs), Custom Recovery Mode Email (100+ installs) and Fatal Plugin Auto Deactivat… (100+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
