Table of Contents
- π§ Complete Guide to Debugging, System Health & Maintenance Tools
- π Table of Contents
- 1. Debug Dashboard Overview
- 2. Live System Health
- 3. Scheduled Tasks & Cron Jobs
- 4. Debug Logging
- 5. Performance Profiling
- 6. Diagnostic Tools
- 7. Error Tracking
- 8. Cache Management
- 9. Database Health
- 10. Troubleshooting Utilities
π§ Complete Guide to Debugging, System Health & Maintenance Tools #
Master the debug tools to monitor system health, troubleshoot issues, manage scheduled tasks, and optimize AISEOmatic AI’s performance.
This comprehensive guide covers the debug dashboard, live health monitoring, scheduled task management, diagnostic tools, log analysis, performance profiling, and troubleshooting utilities.
π Table of Contents #
- Debug Dashboard Overview
- Live System Health
- Scheduled Tasks & Cron Jobs
- Debug Logging
- Performance Profiling
- Diagnostic Tools
- Error Tracking
- Cache Management
- Database Health
- Troubleshooting Utilities
1. Debug Dashboard Overview #
What is the Debug Dashboard? #
The Debug Dashboard is your technical command center for monitoring, diagnosing, and troubleshooting AISEOmatic AI.
Purpose:
- π Monitor system health in real-time
- π Identify and fix issues
- β‘ Optimize performance
- π Track resource usage
- π οΈ Manage maintenance tasks
Access Location #
WordPress Admin Panel
βββ AISEOmatic AI
βββ Debug Tools (tab)
Admin Bar Quick Access:
βββ Top Admin Bar
βββ AISEOmatic
βββ System Health
Pro Features:
βββ Advanced debugging
βββ Performance profiling
βββ Extended logging
Dashboard Layout #
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π§ AISEOmatic Debug & System Health β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β System Status: β
All Systems Operational β
β Last Check: 2 minutes ago β
β Plugin Version: 1.0.0 β
β WordPress: 6.4.2 | PHP: 8.1.12 | MySQL: 8.0.31 β
β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β π’ Live Health Indicators β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββ€ β
β β Core Plugin: β
Operational β β
β β Database: β
Connected β β
β β API Endpoints: β
Responding β β
β β Cron System: β
Running β β
β β Cache System: β
Active β β
β β File System: β
Writable β β
β β OpenAI (Optional): β οΈ Not configured β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β β‘ Performance Metrics β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββ€ β
β β Memory Usage: 87 MB / 256 MB (34%) β β
β β ββββββββββββββββββββββββ β β
β β β β
β β CPU Usage: 12% (Normal) β β
β β Response Time: 187ms (Good) β β
β β Active Queries: 3 β β
β β Cache Hit Rate: 87% β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β π
Scheduled Tasks Status β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββ€ β
β β Next: Sitemap regeneration in 23 minutes β β
β β Queue: 3 tasks pending β β
β β Last Run: Score recalculation (12 minutes ago) β β
β β [View All Schedules] β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β [View Logs] [Run Diagnostics] [Clear Caches] β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
2. Live System Health #
Health Check Components #
Real-Time Monitoring:
βββββββββββββββββββββββββββββββββββββββββββ
β System Health Status β
βββββββββββββββββββββββββββββββββββββββββββ€
β β
β π’ Core Systems β
β ββββββββββββββββββββββββββββββββββ β
β β
β Plugin Status: β
β ββ Version: 1.0.0 β
β
β ββ Database: Connected β
β
β ββ Tables: All present β
β
β ββ Settings: Valid β
β
β ββ License: Active (Pro) β
β
β β
β WordPress Environment: β
β ββ Version: 6.4.2 β
(Latest) β
β ββ PHP: 8.1.12 β
(Recommended) β
β ββ MySQL: 8.0.31 β
β
β ββ Memory Limit: 256M β
β
β ββ Max Execution: 300s β
β
β β
β File System: β
β ββ Plugin Dir: Writable β
β
β ββ Uploads Dir: Writable β
β
β ββ Output Dir: Writable β
β
β ββ Permissions: Correct β
β
β β
β Network Connectivity: β
β ββ Outbound HTTPS: Working β
β
β ββ DNS Resolution: Working β
β
β ββ API Endpoints: Accessible β
β
β ββ Firewall: Configured β
β
β β
βββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββ
β β οΈ Warnings & Recommendations β
βββββββββββββββββββββββββββββββββββββββββββ€
β β
β β οΈ OpenAI API Key not configured β
β Impact: AI summaries disabled β
β Action: Add key to enable summaries β
β Priority: Low (Optional feature) β
β β
β β οΈ Cache hit rate below 90% β
β Impact: Slightly slower performance β
β Action: Consider optimizing queries β
β Priority: Low (Performance tweak) β
β β
β [View All Recommendations] β
β β
βββββββββββββββββββββββββββββββββββββββββββ
Critical Issues Detection #
βββββββββββββββββββββββββββββββββββββββββββ
β π΄ Critical Issues (If Any) β
βββββββββββββββββββββββββββββββββββββββββββ€
β β
β β Database Connection Failed β
β ββββββββββββββββββββββββββββββββββ β
β Detected: 5 minutes ago β
β Impact: Plugin non-functional β
β Error: Can't connect to MySQL β
β β
β Troubleshooting Steps: β
β 1. Check database credentials β
β 2. Verify MySQL service running β
β 3. Check firewall rules β
β 4. Review error logs β
β β
β [View Error Details] β
β [Run Auto-Repair] β
β [Contact Support] β
β β
βββββββββββββββββββββββββββββββββββββββββββ
Resource Monitoring #
βββββββββββββββββββββββββββββββββββββββββββ
β Resource Usage (Real-Time) β
βββββββββββββββββββββββββββββββββββββββββββ€
β β
β Memory Usage: β
β Current: 87 MB / 256 MB (34%) β
β βββββββββββββββββββββββ β
β Peak: 124 MB β
β Average: 93 MB β
β Status: β
Normal β
β β
β CPU Usage (Last 5 min): β
β Current: 12% β
β βββββββββββββββββββββββ β
β Peak: 34% β
β Average: 15% β
β Status: β
Normal β
β β
β Database Queries: β
β Active: 3 queries β
β Queued: 0 queries β
β Avg Time: 12ms β
β Slowest: 45ms (acceptable) β
β Status: β
Optimal β
β β
β Disk I/O: β
β Read: 234 KB/s β
β Write: 87 KB/s β
β Wait Time: 2ms β
β Status: β
Good β
β β
βββββββββββββββββββββββββββββββββββββββββββ
3. Scheduled Tasks & Cron Jobs #
Cron System Overview #
βββββββββββββββββββββββββββββββββββββββββββ
β Scheduled Tasks Management β
βββββββββββββββββββββββββββββββββββββββββββ€
β β
β WordPress Cron: β
Active β
β System Cron: β οΈ Recommended (optional) β
β Last Execution: 12 minutes ago β
β Next Execution: 23 minutes β
β β
β Active Schedules: β
β ββββββββββββββββββββββββββββββββββ β
β β
β Task Name Frequency Next β
β βββββββββββββββββββββββββββββββββββββ β
β Sitemap Regen Hourly 23m β
β Score Recalculation Daily 11h β
β Bot Log Cleanup Weekly 3d β
β Cache Purge 6 Hours 2h β
β Health Check 15 Min 8m β
β Database Optimization Weekly 5d β
β β
β [View Full Schedule] β
β [Add Custom Task] β
β [Run Task Now] β
β β
βββββββββββββββββββββββββββββββββββββββββββ
Individual Task Details #
βββββββββββββββββββββββββββββββββββββββββββ
β Task: AI Sitemap Regeneration β
βββββββββββββββββββββββββββββββββββββββββββ€
β β
β Status: β
Active β
β Schedule: Every hour β
β Next Run: In 23 minutes β
β Last Run: 37 minutes ago (Success) β
β β
β Execution History: β
β ββββββββββββββββββββββββββββββββββ β
β 2025-12-13 10:23 β
Success (2.3s) β
β 2025-12-13 09:23 β
Success (2.1s) β
β 2025-12-13 08:23 β
Success (2.5s) β
β 2025-12-13 07:23 β
Success (2.2s) β
β 2025-12-13 06:23 β
Success (2.4s) β
β β
β Performance: β
β Avg Duration: 2.3 seconds β
β Success Rate: 100% (30 days) β
β Resource Usage: Low β
β β
β Configuration: β
β Priority: High β
β Timeout: 60 seconds β
β Retry on Fail: Yes (3 attempts) β
β β
β [Run Now] [Disable] [Edit Schedule] β
β β
βββββββββββββββββββββββββββββββββββββββββββ
Custom Schedule Creation #
βββββββββββββββββββββββββββββββββββββββββββ
β Create Custom Scheduled Task β
βββββββββββββββββββββββββββββββββββββββββββ€
β β
β Task Name: β
β [Custom Optimization Task ] β
β β
β Action: β
β [Recalculate Scores βΌ] β
β β’ Recalculate AI Scores β
β β’ Regenerate Sitemaps β
β β’ Clear Specific Cache β
β β’ Database Cleanup β
β β’ Custom Hook β
β β
β Schedule: β
β β Interval β
β β Specific Time β
β β Cron Expression β
β β
β Frequency: [Every 6 Hours βΌ] β
β β’ Every 15 minutes β
β β’ Hourly β
β β’ Every 6 hours β
β β’ Daily β
β β’ Weekly β
β β’ Monthly β
β β
β Target: β
β β All posts β
β β Specific post types β
β β Posts with score < 70 β
β β Posts older than 30 days β
β β
β [Create Task] [Cancel] β
β β
βββββββββββββββββββββββββββββββββββββββββββ
4. Debug Logging #
Log Viewer #
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Debug Logs β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Level: [All βΌ] Category: [All βΌ] Date: [Today βΌ] β
β β
β Timestamp Level Category Message β
β ββββββββββββββββββββββββββββββββββββββββββββββββββ β
β 2025-12-13 11:47 INFO Core Plugin init β
β 2025-12-13 11:47 DEBUG Sitemap Generated XML β
β 2025-12-13 11:46 INFO Score Calculated P123 β
β 2025-12-13 11:45 WARNING Cache Low hit rate β
β 2025-12-13 11:44 INFO Bot GPTBot detected β
β 2025-12-13 11:43 DEBUG API OpenAI called β
β 2025-12-13 11:42 ERROR Database Slow query 230msβ
β 2025-12-13 11:41 INFO Cron Hourly task run β
β 2025-12-13 11:40 DEBUG Cache Cleared old dataβ
β 2025-12-13 11:39 INFO Core Settings saved β
β β
β Showing 1-10 of 1,247 entries β
β [Previous] [1] [2] [3] ... [125] [Next] β
β β
β [Export Logs] [Clear Old Logs] [Download All] β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Log Levels & Categories #
Log Levels:
ββββββββββββββββββββββββββββββββββ
π΄ ERROR - Critical issues requiring attention
β οΈ WARNING - Potential problems, not critical
βΉοΈ INFO - General operational information
π DEBUG - Detailed diagnostic information
Categories:
ββββββββββββββββββββββββββββββββββ
Core - Plugin initialization, settings
Sitemap - AI Sitemap generation
Score - AI Score calculations
Bot - Bot detection & logging
Cache - Caching operations
Database - Database queries & optimization
API - External API calls (OpenAI, etc.)
Cron - Scheduled task execution
Optimization- Content optimization processes
Error - Error handling & recovery
Log Configuration #
βββββββββββββββββββββββββββββββββββββββββββ
β Debug Logging Settings β
βββββββββββββββββββββββββββββββββββββββββββ€
β β
β β Enable debug logging β
β β
β Log Level: β
β β INFO and above (Recommended) β
β β WARNING and above β
β β ERROR only β
β β DEBUG (Verbose - for developers) β
β β
β Log Categories: β
β β Core operations β
β β Database queries β
β β API calls β
β β Cache operations β
β β Detailed debug (Very verbose) β
β β
β Storage: β
β Location: /wp-content/debug.log β
β Max Size: [10] MB β
β Retention: [30] days β
β Auto-cleanup: β Enabled β
β β
β Performance: β
β β Log slow queries (>100ms) β
β β Log memory usage β
β β Profile execution time β
β β
β [Save Settings] β
β β
βββββββββββββββββββββββββββββββββββββββββββ
5. Performance Profiling #
Execution Time Tracking #
βββββββββββββββββββββββββββββββββββββββββββ
β Performance Profile (Last 100 Requests)β
βββββββββββββββββββββββββββββββββββββββββββ€
β β
β Average Response Time: 187ms β
β Median: 165ms β
β 95th Percentile: 340ms β
β 99th Percentile: 520ms β
β β
β Breakdown: β
β ββββββββββββββββββββββββββββββββββ β
β WordPress Core: 45ms (24%) β
β Database Queries: 67ms (36%) β
β AISEOmatic Logic: 52ms (28%) β
β External APIs: 18ms (10%) β
β Other: 5ms (2%) β
β β
β Slowest Operations: β
β 1. AI Score Calc: 89ms avg β
β 2. Sitemap Gen: 67ms avg β
β 3. Bot Lookup: 34ms avg β
β 4. Cache Check: 12ms avg β
β 5. Settings Load: 8ms avg β
β β
β [View Detailed Profile] β
β [Export Data] β
β β
βββββββββββββββββββββββββββββββββββββββββββ
Query Analysis #
βββββββββββββββββββββββββββββββββββββββββββ
β Database Query Performance β
βββββββββββββββββββββββββββββββββββββββββββ€
β β
β Total Queries: 47 (Last page load) β
β Total Time: 67ms β
β Average: 1.4ms per query β
β β
β Slow Queries (>50ms): β
β ββββββββββββββββββββββββββββββββββ β
β β
β 1. SELECT * FROM wp_aiseoai_scores β
β WHERE post_id IN (...) β
β Time: 78ms β
β Rows: 150 β
β Solution: Add index on post_id β
β β
β 2. SELECT * FROM wp_aiseoai_bots β
β ORDER BY visit_time DESC β
β Time: 62ms β
β Rows: 1000 β
β Solution: Limit results, add cache β
β β
β Recommendations: β
β β’ Add missing indexes β
β β’ Enable query cache β
β β’ Optimize large result sets β
β β
β [Run Database Optimization] β
β β
βββββββββββββββββββββββββββββββββββββββββββ
6. Diagnostic Tools #
System Diagnostics #
βββββββββββββββββββββββββββββββββββββββββββ
β Run System Diagnostics β
βββββββββββββββββββββββββββββββββββββββββββ€
β β
β Select Tests to Run: β
β β Core plugin integrity β
β β Database connectivity β
β β File system permissions β
β β API endpoints β
β β Cron system β
β β Cache functionality β
β β Plugin conflicts β
β β OpenAI connection (if configured) β
β β
β [Run Diagnostics] β
β β
β ββββββββββββββββββββββββββββββββββ β
β β
β Last Run: 2025-12-13 10:30 β
β Results: β
All tests passed β
β Duration: 3.2 seconds β
β β
β [View Last Results] β
β [Schedule Regular Tests] β
β β
βββββββββββββββββββββββββββββββββββββββββββ
Diagnostic Results #
βββββββββββββββββββββββββββββββββββββββββββ
β Diagnostic Results β
βββββββββββββββββββββββββββββββββββββββββββ€
β β
β β
Core Plugin Integrity β
β All files present and uncorrupted β
β Version: 1.0.0 β
β Checksum: Valid β
β β
β β
Database Connectivity β
β Connection: Successful β
β Tables: All present (4/4) β
β Indexes: Optimized β
β β
β β
File System Permissions β
β Plugin directory: Writable β
β Uploads directory: Writable β
β Cache directory: Writable β
β β
β β
API Endpoints β
β /wp-json/aiseoai/v1/*: Accessible β
β Response time: 45ms (Good) β
β Authentication: Working β
β β
β β
Cron System β
β WordPress Cron: Active β
β Scheduled tasks: 6 active β
β Last execution: On time β
β β
β β οΈ Cache Functionality β
β Object cache: Working β
β Hit rate: 83% (Below 90% target) β
β Recommendation: Review cache strategy β
β β
β [Export Report] [Email to Admin] β
β β
βββββββββββββββββββββββββββββββββββββββββββ
7. Error Tracking #
Error Dashboard #
βββββββββββββββββββββββββββββββββββββββββββ
β Error Tracking (Last 7 Days) β
βββββββββββββββββββββββββββββββββββββββββββ€
β β
β Total Errors: 12 β
β Critical: 0 β
β Warnings: 12 β
β β
β Error Trend: β
β Mon Tue Wed Thu Fri Sat Sun β
β 3 2 1 2 1 2 1 β
β ββ β β β β β β β
β β
β Recent Errors: β
β ββββββββββββββββββββββββββββββββββ β
β β
β 2025-12-13 11:42 WARNING β
β Slow database query detected β
β Query took 230ms (threshold: 100ms) β
β Location: Score calculation β
β [View Details] β
β β
β 2025-12-12 15:23 WARNING β
β Cache miss rate high β
β Hit rate: 78% (target: 90%) β
β Location: Sitemap generation β
β [View Details] β
β β
β [View All Errors] [Clear Error Log] β
β β
βββββββββββββββββββββββββββββββββββββββββββ
8. Cache Management #
Cache Control Panel #
βββββββββββββββββββββββββββββββββββββββββββ
β Cache Management β
βββββββββββββββββββββββββββββββββββββββββββ€
β β
β Cache Status: β
Active β
β Hit Rate: 87% (Good) β
β Total Size: 23.4 MB β
β Entries: 1,247 β
β β
β Cache Types: β
β ββββββββββββββββββββββββββββββββββ β
β β
β Object Cache: β
β Size: 12.3 MB β
β Entries: 567 β
β Hit Rate: 91% β
β [Clear Object Cache] β
β β
β Transient Cache: β
β Size: 8.7 MB β
β Entries: 432 β
β Hit Rate: 85% β
β [Clear Transients] β
β β
β Database Cache: β
β Size: 2.4 MB β
β Entries: 248 β
β Hit Rate: 82% β
β [Clear DB Cache] β
β β
β Operations: β
β [Clear All Caches] β
β [Warm Up Cache] β
β [View Cache Stats] β
β β
βββββββββββββββββββββββββββββββββββββββββββ
9. Database Health #
Database Optimization #
βββββββββββββββββββββββββββββββββββββββββββ
β Database Health & Optimization β
βββββββββββββββββββββββββββββββββββββββββββ€
β β
β Tables Status: β
β ββββββββββββββββββββββββββββββββββ β
β β
β wp_aiseoai_scores β
β Rows: 150 | Size: 2.3 MB | β
Optimal β
β Last optimized: 3 days ago β
β [Optimize Now] β
β β
β wp_aiseoai_bots β
β Rows: 1,247 | Size: 5.7 MB | β
Good β
β Last optimized: 2 days ago β
β [Optimize Now] β
β β
β wp_aiseoai_cache β
β Rows: 432 | Size: 1.2 MB | β οΈ Bloated β
β Last optimized: 15 days ago β
β Recommendation: Clean old entries β
β [Optimize Now] [Clean Old Data] β
β β
β Overall Health: β
Good β
β Total Size: 9.2 MB β
β Fragmentation: Low β
β β
β [Optimize All Tables] β
β [Schedule Auto-Optimization] β
β β
βββββββββββββββββββββββββββββββββββββββββββ
10. Troubleshooting Utilities #
Quick Fix Tools #
βββββββββββββββββββββββββββββββββββββββββββ
β Quick Fix Utilities β
βββββββββββββββββββββββββββββββββββββββββββ€
β β
β π§ Common Issues β
β ββββββββββββββββββββββββββββββββββ β
β β
β Reset Plugin Settings β
β Restore factory defaults β
β β οΈ Warning: All settings will be lost β
β [Reset Settings] β
β β
β Rebuild Database Tables β
β Recreate all AISEOmatic tables β
β Use if tables corrupted β
β [Rebuild Tables] β
β β
β Clear All Caches β
β Remove all cached data β
β Safe to run anytime β
β [Clear Caches] β
β β
β Flush Rewrite Rules β
β Fix permalink/sitemap issues β
β Run if sitemap not accessible β
β [Flush Rules] β
β β
β Regenerate AI Sitemap β
β Force immediate sitemap rebuild β
β Use after bulk content changes β
β [Regenerate Sitemap] β
β β
β Recalculate All AI Scores β
β Recompute scores for all content β
β β οΈ Resource intensive β
β [Recalculate Scores] β
β β
β Test OpenAI Connection β
β Verify API key and connectivity β
β (Only if OpenAI configured) β
β [Test Connection] β
β β
βββββββββββββββββββββββββββββββββββββββββββ
System Information Export #
Export System Information:
ββββββββββββββββββββββββββββββββββ
Generate comprehensive system report
for support or documentation:
Includes:
β
Plugin version & settings
β
WordPress environment
β
Server configuration
β
Active plugins list
β
Theme information
β
Error logs (last 100)
β
Performance metrics
β
Health check results
Format: [Text File βΌ]
- Plain text (.txt)
- JSON (.json)
- HTML Report (.html)
Privacy: β οΈ May contain sensitive info
Review before sharing
[Generate Report]
[Generate & Download]
[Generate & Email to Support]
AISEOmatic Debug Tools Guide v1.0
Last Updated: December 13, 2025