NaveenCodes Safe Mode
Emergency recovery layer for WordPress fatal plugin and theme errors.
Use with caution
NaveenCodes Safe Mode works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 42/100 on our health check.
- Small user base (<10 active installs)
- Very few reviews so far
- Only tested up to WordPress 6.8 (latest is 7.1)
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 NaveenCodes 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 | >100 |
| theme recovery | >100 |
About NaveenCodes Safe Mode
From the official readme ยท v1.1.0Description
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.
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.
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.
Frequently asked questions
Does this plugin fix broken PHP code?
No. It only detects fatal errors, disables faulty plugins or switches broken themes, logs what happened, and notifies administrators.
Can it recover from every crash?
No recovery plugin can guarantee recovery from all fatal errors. WordPress must load NaveenCodes Safe Mode before the crash occurs so its shutdown handler can run.
Does Version 1 include rollback or AI analysis?
No. Those appear only in the Coming Soon section.
Changelog
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.
1.0.0
- Initial Version 1 release.
- Fatal error detection.
- Plugin auto-disable recovery.
- Theme fallback recovery.
- Recovery queue and attempt limits.
- Custom error logs and recovery history tables.
- Admin dashboard, logs, history, settings, notices, email notifications, and Coming Soon UI.
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 NaveenCodes Safe Mode alternatives
All fatal error plugins โFAQ
NaveenCodes Safe Mode: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org ยท checked Sep 29, 2026
Is NaveenCodes Safe Mode free?
Yes. NaveenCodes Safe Mode is free to download and use from the official WordPress.org plugin directory.
Is NaveenCodes Safe Mode safe to use in 2026?
NaveenCodes Safe Mode works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 42/100 on our health check.
How many websites use NaveenCodes Safe Mode?
NaveenCodes Safe Mode is active on <10 WordPress websites and has been downloaded 474 times since it launched in June 2026. It was downloaded 61 times in the last 30 days.
Does NaveenCodes Safe Mode work with WordPress 7.1?
NaveenCodes Safe Mode is officially tested up to WordPress 6.8.10, while the latest release is 7.1.2. It may still work, but try it on a staging site first.
What PHP version does NaveenCodes Safe Mode need?
NaveenCodes Safe Mode requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was NaveenCodes Safe Mode last updated?
The latest version, 1.1.0, was released on June 30, 2026 (3 months ago).
Who makes NaveenCodes Safe Mode?
NaveenCodes Safe Mode is developed and maintained by Naveen Goyal.
What are the best alternatives to NaveenCodes Safe Mode?
The most popular alternatives to NaveenCodes Safe Mode are Error Sniffing Pug (100+ installs), Custom Recovery Mode Email (100+ installs) and Fatal Plugin Auto Deactivatโฆ (100+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages โ with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org โ no credit card