WP Control is a powerful plugin designed for WordPress sites with extensive error logs. It allows administrators to:
- Read and analyze error logs even if the error log is gigabytes of size. (Only up to last 100 records are shown) Filtering by type is supported. The limitation is necessary for two reasons - first if there are more errors they are either not relevant or repeating ones, and second - that way your server will continue operate without any interruptions even if your log is few gigs of data.
- Enable or disable error logging directly from the WordPress dashboard.
- Manage large log files without performance degradation.
- Cron manager at the tip of your fingers (edit / delete / run).
- Transient manager - all (stored in the DB) transients (edit / delete).
- SQL tables manager - From here you can see and delete records from all the tables currently present in the Database.
- Environment type - There is the notification in the admin bar which tells you what is the selected type of the current environment you are on (can change it (the env type) from the settings or completely disable it)
- Plugin version switcher - Now you can change the plugin version directly from the admin Plugins page of your WordPress. Shows the path where main plugin file is located.
- Easily see where exactly error is thrown (where detected)
Important: Description below does not apply for multisites, as this feature is not implemented by the WordPress core team for multisites!
Recovery Mode link (still experimental) in the notification channels (if set) is added along with the fatal error. Wp core not always kicks in on fatality errors and this makes sure that you still have access to your website.
How this feature works:
If fatal error is detected from the plugin, it sends notifications to Slack or Telegram channels (if set), and provides recovery link along with the error message. When used, that link allows admin to login and suppresses all the plugins and active theme (except the WP Control plugin). You can observe the error log using the plugin screen and see where, when and what caused the error and take measures. You can completely disable the errored plugin or theme, switch to another version or just fix the error (if possible). Once done - just exit recovery mode and everything should continue working normally.
Note: Every time fatal is thrown, for security reasons new link is generated, every single one of them should work, but on busy sites that could lead to 10s of generated links.
This plugin is ideal for developers and administrators who need robust tools for troubleshooting and maintenance.
You can see it in action
here or use the "Live Preview" button on the WordPress plugin page.
Key Features:
- Handles gigabyte-sized error logs seamlessly.
- Option to enable or disable logging via the admin interface.
- Optimized for high-performance even with large log files.
- Provides insights into logged errors for efficient troubleshooting.
- Built-in fully functional Cron manager.
- Built-in fully functional Transients manager.
- Built-in Table manager.
- Built-in badge that shows you current environment type.
- Option to randomize the name of the error log file (security).
- Easily plugin version switch (the ones from official WP marketstore).
- Built-in dark mode.
- Download the plugin from the WordPress Plugin Directory.
- Upload the
0-day-analytics
folder to the /wp-content/plugins/
directory.
- Activate the plugin through the 'Plugins' menu in WordPress.
- You will see new menu in admin bar (left hand) called
WP Control
.
Voila! It's ready to go.
Technical specification...
- Designed for both single and multi-site installations
- PHP8 fully compatible
2.6.1
Recovery mode improvements - Fixes problem with Slack notifications - by default Slack follows links. Added checks for multisite and suppresses logic if one is detected.
2.6.0
Code logic improvements. Added option to disable all external requests. Added error capturing for when API requests trow WP_Error. Extended error reporting feature. Implemented recovery mode if fatal error occurs and WP Core does not catch it.
2.5.0
Multisite fixes, trigger_error filter introduction.
2.4.2.1
Bug fix when database name contains '-'.
2.4.2
Bug fix with missing variable in error class - special thanks to @lucianwpwhite.
2.4.1
Removed messages when WP_DEBUG_DISPLAY is enabled as it produces "headers already sent" notification. Tables view now supports Truncate operation (for all tables) and Drop operation (for non wp core tables). Deprecation WP functions improvements and better handling. Code optimizations.
2.4.0
Code and UI improvements. JS fixes.
2.3.0
Bug fixes. Added single rows delete confirmation. Table information included.
2.2.2
Bug fixes. Added confirmation dialog when delete DB table record from the quick menu. Logic improvements.
2.2.1
Fixed "doing_it_wrong" error.
2.2.0
Now supporting all tables in the give DataBase. Bug fixes and optimizations.
2.1.3
PHP Warnings fix.
2.1.2
Warnings fix removed and added table size.
2.1.1
WP Screen not set error fix.
2.1.0
Code optimizations and SQL Table Viewer.
2.0.0
Code improvements - mostly JS responses and better interaction with UI. Errors coming from mail function (WP_Error) catching. Text selected in the console-like window (bottom of the error log viewer) is automatically copied into the clipboard.
1.9.8.2
Very small code updates and proper version settings.
1.9.8.1
'Headers already sent' in settings error fix.
1.9.8
Automatically deactivates Log-IQ plugin. Lots of code optimizations, added Cron add functionality, fixed errors.
1.9.7
Extended default admin Plugins page - gives thee option to switch to older version directly from the page and shows information about the plugin main file location.
1.9.6
Lots of UI changes both light and dark skin. Filtering the severities directly from the error log list view.
1.9.5.1
Fixed warning message about missing setting. Small code optimizations.
1.9.5
Added option to monitor wp_die when it is called with parameters - enabled by default.
1.9.4.1
Bug fixes and UI changes.
1.9.4
Code and UI improvements. Added push notifications option.
1.9.3
Added option for logging errors from REST API (can be disabled from the settings). Code improvements and bug fixes.
1.9.2.1
Bug fix when plugin is activated WP Screen is not set
1.9.2
- Option to create transient. Option to truncate file but keep selected amount of last records. UI fixes and code optimizations. Late initialize to save resources.
1.9.1
- Silencing warnings coming from \is_file where restrictions / permissions are in place.
1.9.0
- Code optimizations. UI improvements. Bug fixes. Better source reporting.
1.8.6
- Providing editing option for Crons and Transients, code optimizations.
1.8.5
- Bug fixes and code optimizations. Telegram notifications support.
1.8.4.1
- Fixed problem with init hook called too early.
1.8.4
- Added control for more WP core constants as WP_DEVELOPMENT_MODE, SCRIPT_DEBUG, SAVEQUERIES etc. Added evnironment type show in the Admin bar (WP_ENVIRONMENT_TYPE). Added code viewer optins in the details section of error log. UI fixes and code optimizations.
1.8.3
- Lots of UI fixes and code showing optimizations.
1.8.2
- UI fixes related to the severity colors, added option to enable / disable the Admin bar live notifications, small code optimizations.
1.8.1
- Source view button in error log, PHP 7 problem fix.
1.8.0
- Logic improvements, menu name change, Slack notifications for fatal errors, speed optimizations.
1.7.5
- Lots of UI fixes and dark theme optimizations, small code fixes.
1.7.4
- UI / UX improvements and link fixes.
1.7.3
- Lots of bug fixes and UI / UX improvements.
1.7.3
- Lots of bug fixes and UI / UX improvements.
1.7.2
1.7.1
- UI improvements. Fixed class reflection and method extraction in crons.
1.7.0
- Bug fixes and UI improvements. Transients manager added.
1.6.1
- Fixed bugs with error reader and improved memory management.
1.6.0
- Code and memory optimizations, new functionalities, features and UI changes in Cron manager.
1.5.1
- Fatal error on delete crons fixed.
1.5.0
- Lots of code optimizations and improvements. Cron list extending and optimizing. UI changes. Bug and functionality fixes.
1.4.0
- Code optimizations and functionality enhancements. Cron list extending and optimizing
1.3.0
- Code optimizations and functionality enhancements. More of WP deprecated events are now support. First version of Cron manager introduced (multisite is not fully supported yet and functionalities are limited)
1.2.0
- Code optimizations and functionality enhancements. Console now shows lines the way PHP error log stores them (not in reverse order). The new errors (count) is now shown next to the admin menu item. Admin bar size is reduced.
1.1.1
1.1.0
- Fixed lots of problems, code optimizations and functionality enhancements.
1.0.1
- Small fixes and improvements.
1.0.0
- Initial release of Error Log Manager.