Guides
System & Console ID: plg_system_safemode
A critical safety net to recover your site from fatal errors and white screens.
Why use SafeMode?
Emergency Recovery
Regain access when the administrator panel is inaccessible due to extension conflicts or fatal errors.
Safe Troubleshooting
Disable problematic plugins or templates while keeping core Joomla functions intact for diagnosis.
Console Usage (CLI)
1 Access your server via SSH or command line interface.
2 Navigate to your Joomla root directory.
3 Run the following command to enable SafeMode:
php cli/joomla.php safemode:enable4 This enters a protected state where only core Joomla functions run.
5 Once the problematic extension is identified and fixed, disable SafeMode with:
php cli/joomla.php safemode:disable Important: SafeMode is designed for emergency recovery only. Always maintain regular backups and test extensions on a staging environment before deploying to production.
Resources & Links
Requirements:
Joomla 5.0 or higher
PHP 8.1 or higher
Command-line access (SSH) required
Task Plugin ID: plg_task_deltrash
Automate the "Empty Trash" process via the Joomla Task Scheduler for a cleaner, faster database.
Efficiency Benefits
Automatic Cleanup
Instead of manually emptying the trash, let the scheduler handle it automatically.
Database Performance
Keep your database light and fast by removing obsolete trashed items regularly.
Configuration
1 Navigate to System > Scheduled Tasks in your Joomla admin panel.
2 Click New and select the "Delete Trashed" task type.
3 Set the task to run once per day (recommended).
4 Save and enable. The system will now purge trashed items.
Important Security Note:
Deleted items are permanently removed. Ensure your backup policy is active before enabling automated purging.
Deleted items are permanently removed. Ensure your backup policy is active before enabling automated purging.
Changelog
Project Updates
Version 1.8.0
plugin
CHANGES
- Namespace
Version 1.7.3
plugin
NOTES
- Code clean
Version 1.7.2
plugin
NOTES
- CLI language support
Version 1.7.1
plugin
NOTES
- Ready for Jooomla 5/6
Version 1.7.0
plugin
CHANGES
- Search super user
Version 1.6.0
plugin
CHANGES
- Code clean
Version 1.5.0
plugin
CHANGES
- Service provider
Version 1.4.1
plugin
⚠️ SECURITY FIXES
- Joomla 4.4.1 + Joomla 5.0.1
Version 1.4.0
plugin
ADDITIONS
- Delete components Categories
CHANGES
- Log messages
Version 1.3.0
plugin
ADDITIONS
- Delete Trashed Contact Items
Version 1.2.0
plugin
ADDITIONS
- Delete Trashed Menu Items
- Delete Trashed Tags
- Delete Trashed Tasks
Version 1.1.0
plugin
ADDITIONS
- Purge Disabled Redirects
- Delete Trashed Modules
CHANGES
- sha256 cheksum
Version 1.0.0
plugin
ADDITIONS
- Deelete Trashed Articles
- Delete Trashed Content Categories
LANGUAGE UPDATES
- en-GB
NOTES
- Listed on Jooomla Extension Directory