{"id":265400,"date":"2026-01-28T10:42:28","date_gmt":"2026-01-28T10:42:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/debug-log-inspector\/"},"modified":"2026-02-15T16:49:28","modified_gmt":"2026-02-15T16:49:28","slug":"lumiblog-debug-log-inspector","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/lumiblog-debug-log-inspector\/","author":16164437,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"1.1.0","tested":"6.9.4","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"Lumiblog Debug Log Inspector","header_author":"Patrick Lumumba","header_description":"Monitor debug logs for any WordPress plugin errors and display real-time status in the admin bar","assets_banners_color":"424046","last_updated":"2026-02-15 16:49:28","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/lumumbas-blog.co.ke\/support-wp-plugins","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/lumiblog-debug-log-inspector\/","header_author_uri":"https:\/\/lumumbas-blog.co.ke","rating":0,"author_block_rating":0,"active_installs":0,"downloads":187,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"lumiblog","date":"2026-01-28 10:42:15"},"1.1.0":{"tag":"1.1.0","author":"lumiblog","date":"2026-02-15 16:49:28"}},"upgrade_notice":{"1.1.0":"<p>This update fixes several bugs including inactive plugins showing as enabled, broken Edit and Cancel buttons on the settings page, and improves compatibility with PHP 8.5.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3450508,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3450508,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3461944,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3461944,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3461948,"resolution":false,"location":"assets","locale":"","contents":"{\"landingPage\":\"\\\/wp-admin\\\/plugins.php\",\"preferredVersions\":{\"php\":\"8.0\",\"wp\":\"latest\"},\"phpExtensionBundles\":[\"kitchen-sink\"],\"features\":{\"networking\":true},\"steps\":[{\"step\":\"installPlugin\",\"options\":{\"activate\":true},\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"lumiblog-debug-log-inspector\"}},{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"}]}"}},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3461944,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3461944,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3461944,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3461944,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3461944,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3461944,"resolution":"6","location":"assets","locale":""}},"screenshots":{"1":"Settings page - Add new plugins to monitor","2":"Admin bar showing green status (no errors)","3":"Monitored plugins list with enable\/disable toggles","4":"Admin bar showing red status with error details","5":"General settings configuration","6":"Edit plugin interface"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[94,29196,908,4074,1591],"plugin_category":[52,59],"plugin_contributors":[223833],"plugin_business_model":[],"class_list":["post-265400","plugin","type-plugin","status-publish","hentry","plugin_tags-debug","plugin_tags-error-tracking","plugin_tags-log","plugin_tags-monitor","plugin_tags-testing","plugin_category-performance","plugin_category-utilities-and-tools","plugin_contributors-lumiblog","plugin_committers-lumiblog"],"banners":{"banner":"https:\/\/ps.w.org\/lumiblog-debug-log-inspector\/assets\/banner-772x250.png?rev=3461944","banner_2x":"https:\/\/ps.w.org\/lumiblog-debug-log-inspector\/assets\/banner-1544x500.png?rev=3461944","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/lumiblog-debug-log-inspector\/assets\/icon-128x128.png?rev=3450508","icon_2x":"https:\/\/ps.w.org\/lumiblog-debug-log-inspector\/assets\/icon-256x256.png?rev=3450508","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/lumiblog-debug-log-inspector\/assets\/screenshot-1.png?rev=3461944","caption":"Settings page - Add new plugins to monitor"},{"src":"https:\/\/ps.w.org\/lumiblog-debug-log-inspector\/assets\/screenshot-2.png?rev=3461944","caption":"Admin bar showing green status (no errors)"},{"src":"https:\/\/ps.w.org\/lumiblog-debug-log-inspector\/assets\/screenshot-3.png?rev=3461944","caption":"Monitored plugins list with enable\/disable toggles"},{"src":"https:\/\/ps.w.org\/lumiblog-debug-log-inspector\/assets\/screenshot-4.png?rev=3461944","caption":"Admin bar showing red status with error details"},{"src":"https:\/\/ps.w.org\/lumiblog-debug-log-inspector\/assets\/screenshot-5.png?rev=3461944","caption":"General settings configuration"},{"src":"https:\/\/ps.w.org\/lumiblog-debug-log-inspector\/assets\/screenshot-6.png?rev=3461944","caption":"Edit plugin interface"}],"raw_content":"<!--section=description-->\n<p>Lumiblog Debug Log Inspector is a powerful quality assurance and debugging tool that monitors your WordPress debug.log file for plugin-specific errors. Unlike other debug tools, it allows you to <strong>monitor ANY WordPress plugin<\/strong> through an easy-to-use settings interface - no coding required!<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>Universal Plugin Monitoring<\/strong>: Add any WordPress plugin to monitor through a simple settings page<\/li>\n<li><strong>No Code Editing<\/strong>: Add\/edit\/delete monitored plugins through the WordPress admin interface<\/li>\n<li><strong>Real-time Monitoring<\/strong>: Automatically scans your debug.log file for errors<\/li>\n<li><strong>Visual Status Indicators<\/strong>: Color-coded admin bar display (Green = OK, Red = Errors Found, Gray = Debug Logging Disabled)<\/li>\n<li><strong>Auto-Detection<\/strong>: Option to only monitor plugins that are currently active<\/li>\n<li><strong>Plugin-Specific Tracking<\/strong>: Individual status for each monitored plugin<\/li>\n<li><strong>Last Error Display<\/strong>: Shows the most recent error message for quick diagnosis<\/li>\n<li><strong>Duplicate Prevention<\/strong>: Smart validation prevents adding the same plugin twice<\/li>\n<li><strong>Enable\/Disable Plugins<\/strong>: Toggle monitoring for specific plugins without deleting them<\/li>\n<li><strong>Lightweight<\/strong>: Minimal performance impact with efficient log reading<\/li>\n<li><strong>Well-Organized Code<\/strong>: Modular file structure for easy maintenance and customization<\/li>\n<\/ul>\n\n<h4>Perfect For<\/h4>\n\n<ul>\n<li>QA Teams testing multiple plugins<\/li>\n<li>Plugin Developers debugging their own plugins<\/li>\n<li>WordPress Developers monitoring client sites<\/li>\n<li>Agency Teams managing multiple WordPress installations<\/li>\n<li>Anyone who wants to keep track of plugin errors<\/li>\n<\/ul>\n\n<h4>How It Works<\/h4>\n\n<ol>\n<li>Install and activate the plugin<\/li>\n<li>Go to Settings &gt; Log Inspector<\/li>\n<li>Add any plugin you want to monitor by providing:\n\n<ul>\n<li>Plugin Name (e.g., \"WooCommerce\")<\/li>\n<li>Plugin File Path (e.g., \"woocommerce\/woocommerce.php\")<\/li>\n<li>Search Terms (e.g., \"woocommerce, wc-\")<\/li>\n<\/ul><\/li>\n<li>Check the admin bar for real-time error status<\/li>\n<\/ol>\n\n<h4>Requirements<\/h4>\n\n<p>To use this plugin effectively, you need to enable WordPress debug logging by adding these constants to your <code>wp-config.php<\/code> file:<\/p>\n\n<pre><code>define( 'WP_DEBUG', true );\ndefine( 'WP_DEBUG_LOG', true );\n<\/code><\/pre>\n\n<h3>Testing the Plugin<\/h3>\n\n<p>To verify Lumiblog Debug Log Inspector is working correctly, follow these steps:<\/p>\n\n<p><strong>Step 1: Enable Debug Logging<\/strong><\/p>\n\n<p>Add to your <code>wp-config.php<\/code>:<\/p>\n\n<pre><code>define( 'WP_DEBUG', true );\ndefine( 'WP_DEBUG_LOG', true );\n<\/code><\/pre>\n\n<p><strong>Step 2: Add a Plugin to Monitor<\/strong><\/p>\n\n<ol>\n<li>Go to Settings &gt; Log Inspector<\/li>\n<li>Click \"Add New Plugin to Monitor\"<\/li>\n<li>Fill in the form with a plugin you have installed (e.g., WooCommerce)\n\n<ul>\n<li>Plugin Name: <code>WooCommerce<\/code><\/li>\n<li>Plugin File Path: <code>woocommerce\/woocommerce.php<\/code><\/li>\n<li>Search Terms: <code>woocommerce, wc-<\/code><\/li>\n<\/ul><\/li>\n<li>Click \"Add Plugin\"<\/li>\n<\/ol>\n\n<p><strong>Step 3: Generate a Test Error<\/strong><\/p>\n\n<p>Note: Ensure that the test site is running on PHP 8.4+<\/p>\n\n<ol>\n<li><p>Add this code snippet inside of any active plugin's main file:<\/p>\n\n<p>\/**<\/p>\n\n<ul>\n<li>DEBUG LOG INSPECTOR DEMO - PHP 8.4 Warning Trigger<\/li>\n<li>REMOVE AFTER DEMO\/TESTING!\n*\/\nadd_action( 'load-index.php', function() {\nif ( version_compare( PHP_VERSION, '8.4.0', '&gt;=' ) ) {\n    $test_array = array( 'name' =&gt; 'Debug Log Inspector' );\n    $undefined_value = $test_array['email']; \/\/ Triggers warning\n    error_log( '[DLI-DEMO-PHP84] PHP 8.4 warning triggered!' );\n}\n});<\/li>\n<\/ul><\/li>\n<li><p>Reload the site's admin dashboard to trigger the error<\/p><\/li>\n<li>Check your admin bar - it should turn RED<\/li>\n<\/ol>\n\n<p><strong>Step 4: View the Debug Log (Optional)<\/strong><\/p>\n\n<p>Navigate to <code>wp-content\/debug.log<\/code> to see the actual error entries that were logged.<\/p>\n\n<p><strong>Clean Up:<\/strong><\/p>\n\n<ol>\n<li>Remove the test code you added<\/li>\n<li>Either delete <code>wp-content\/debug.log<\/code> or clear its contents<\/li>\n<li>The admin bar should return to GREEN<\/li>\n<\/ol>\n\n<h3>Additional Information<\/h3>\n\n<h4>Debug Constants<\/h4>\n\n<p>For enhanced debugging, you can also add these optional constants to your <code>wp-config.php<\/code>:<\/p>\n\n<pre><code>define( 'SCRIPT_DEBUG', true );\ndefine( 'SAVEQUERIES', true );\ndefine( 'WP_DEBUG_DISPLAY', false ); \/\/ Set to false on production sites\n<\/code><\/pre>\n\n<h4>For Developers<\/h4>\n\n<p>The plugin is designed to be easily extendable. All classes are well-documented and follow WordPress coding standards. Feel free to fork and customize for your specific needs.<\/p>\n\n<h4>Support<\/h4>\n\n<p>For support, feature requests, or bug reports, please visit the WordPress.org support forums for this plugin.<\/p>\n\n<h4>Contributing<\/h4>\n\n<p>Contributions are welcome! Please visit the plugin's <a href=\"https:\/\/github.com\/lumumbapl\/lumiblog-debug-log-inspector\">Github Repo<\/a> for more information.<\/p>\n\n<!--section=installation-->\n<h4>Automatic Installation<\/h4>\n\n<ol>\n<li>Log in to your WordPress admin panel<\/li>\n<li>Navigate to Plugins &gt; Add New<\/li>\n<li>Search for \"Lumiblog Debug Log Inspector\"<\/li>\n<li>Click \"Install Now\" and then \"Activate\"<\/li>\n<\/ol>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Upload the <code>debug-log-inspector<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to Settings &gt; Log Inspector to configure<\/li>\n<\/ol>\n\n<h4>After Installation<\/h4>\n\n<ol>\n<li>Ensure WP_DEBUG_LOG is enabled in your <code>wp-config.php<\/code> file<\/li>\n<li>Navigate to Settings &gt; Log Inspector<\/li>\n<li>Add plugins you want to monitor<\/li>\n<li>Look for \"LOG INSPECTOR\" in your WordPress admin bar<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20enable%20debug%20logging%3F\"><h3>How do I enable debug logging?<\/h3><\/dt>\n<dd><p>Add these lines to your <code>wp-config.php<\/code> file (before the \"That's all, stop editing!\" line):<\/p>\n\n<pre><code>define( 'WP_DEBUG', true );\ndefine( 'WP_DEBUG_LOG', true );\n<\/code><\/pre><\/dd>\n<dt id=\"what%20do%20the%20colors%20in%20the%20admin%20bar%20mean%3F\"><h3>What do the colors in the admin bar mean?<\/h3><\/dt>\n<dd><ul>\n<li><strong>Green<\/strong>: All monitored plugins are error-free<\/li>\n<li><strong>Red<\/strong>: At least one plugin has errors in the debug log<\/li>\n<li><strong>Gray<\/strong>: Debug logging is not enabled<\/li>\n<\/ul><\/dd>\n<dt id=\"can%20i%20monitor%20any%20wordpress%20plugin%3F\"><h3>Can I monitor any WordPress plugin?<\/h3><\/dt>\n<dd><p>Yes! You can add any WordPress plugin to monitor. Just provide the plugin name, file path, and search terms through the settings page.<\/p><\/dd>\n<dt id=\"what%20are%20%22search%20terms%22%3F\"><h3>What are \"Search Terms\"?<\/h3><\/dt>\n<dd><p>Search terms are keywords that the plugin looks for in your debug.log file. For example, if you're monitoring WooCommerce, you might use \"woocommerce, wc-\" as search terms. These should be unique identifiers that appear in error messages from that plugin.<\/p><\/dd>\n<dt id=\"how%20do%20i%20find%20the%20plugin%20file%20path%3F\"><h3>How do I find the plugin file path?<\/h3><\/dt>\n<dd><p>The plugin file path is usually in the format: <code>folder-name\/main-file.php<\/code><\/p>\n\n<p>For example:\n- WooCommerce: <code>woocommerce\/woocommerce.php<\/code>\n- Contact Form 7: <code>contact-form-7\/wp-contact-form-7.php<\/code>\n- Yoast SEO: <code>wordpress-seo\/wp-seo.php<\/code><\/p>\n\n<p>You can find this in your WordPress admin under Plugins &gt; Installed Plugins (it's shown below each plugin name).<\/p><\/dd>\n<dt id=\"how%20much%20of%20the%20debug.log%20is%20scanned%3F\"><h3>How much of the debug.log is scanned?<\/h3><\/dt>\n<dd><p>By default, the plugin scans the last 300KB of your debug.log file. You can customize this in Settings &gt; Log Inspector &gt; General Settings.<\/p><\/dd>\n<dt id=\"will%20this%20slow%20down%20my%20site%3F\"><h3>Will this slow down my site?<\/h3><\/dt>\n<dd><p>No. The plugin only runs in the WordPress admin area and uses efficient file reading techniques to minimize performance impact.<\/p><\/dd>\n<dt id=\"can%20i%20temporarily%20disable%20monitoring%20for%20a%20plugin%3F\"><h3>Can I temporarily disable monitoring for a plugin?<\/h3><\/dt>\n<dd><p>Yes! In the settings page, you can toggle any plugin on\/off without deleting it from your list.<\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20multisite%3F\"><h3>Does this work with Multisite?<\/h3><\/dt>\n<dd><p>Yes, the plugin works on WordPress Multisite installations.<\/p><\/dd>\n<dt id=\"can%20i%20monitor%20custom%2Fproprietary%20plugins%3F\"><h3>Can I monitor custom\/proprietary plugins?<\/h3><\/dt>\n<dd><p>Absolutely! As long as the plugin generates errors in the debug.log, you can monitor it.<\/p><\/dd>\n<dt id=\"how%20do%20i%20test%20if%20the%20plugin%20is%20working%3F\"><h3>How do I test if the plugin is working?<\/h3><\/dt>\n<dd><p>See the \"Testing the Plugin\" section below for detailed instructions on how to verify everything is working correctly.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0 [February 15, 2026]<\/h4>\n\n<ul>\n<li>Fixed: Minor issues across the plugin <a href=\"https:\/\/github.com\/lumumbapl\/lumiblog-debug-log-inspector\/issues\/1\">[Issue #1]<\/a><\/li>\n<li>Enhanced: Compatibility with PHP 8.5 <a href=\"https:\/\/github.com\/lumumbapl\/lumiblog-debug-log-inspector\/issues\/2\">[Issue #2]<\/a><\/li>\n<li>Fixed: Inactive plugins incorrectly shown as enabled when \"Only monitor active plugins\" is turned on <a href=\"https:\/\/github.com\/lumumbapl\/lumiblog-debug-log-inspector\/issues\/3\">[Issue #3]<\/a><\/li>\n<li>Fixed: Edit button for monitored plugins not working due to incorrect page slug <a href=\"https:\/\/github.com\/lumumbapl\/lumiblog-debug-log-inspector\/issues\/4\">[Issue #4]<\/a><\/li>\n<li>Fixed: Edit form not reset to \"Add New Plugin\" after a successful update <a href=\"https:\/\/github.com\/lumumbapl\/lumiblog-debug-log-inspector\/issues\/5\">[Issue #5]<\/a><\/li>\n<li>Fixed: Cancel button on the Edit Plugin page not working due to incorrect page slug <a href=\"https:\/\/github.com\/lumumbapl\/lumiblog-debug-log-inspector\/issues\/6\">[Issue #6]<\/a><\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Monitor debug logs for any WordPress plugin errors and display real-time status in the WordPress admin bar.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/265400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=265400"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lumiblog"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=265400"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=265400"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=265400"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=265400"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=265400"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=265400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}