Having issues with the Exception Monitor extension? This page covers the most common problems and how to fix them. Start with the quick diagnostics section to narrow down what's wrong, then jump to the relevant issue. We've also included debugging tips and what to check when things aren't working as expected.
Common issues and solutions for Exception Monitor.
Quick Diagnostics
- Check the module is enabled: Stores > Configuration > Magmodules > Exception Monitor > General > Enabled = Yes
- Clear all caches: System > Cache Management > Flush Magento Cache
- Run the self-test: Stores > Configuration > Magmodules > Exception Monitor > Debug & Logging > Self-test button
- Check that the cleanup cron is running (self-test includes a cron check)
- Verify the minimum severity level isn't set higher than the exceptions you expect to see
Common Issues
Issue: No exceptions showing in the grid
Symptoms:
- The exception grid is empty even though you know errors are occurring
- Statistics panel shows zero for today and this week
Solution:
- Verify the module is enabled in configuration
- Check the minimum severity level — if set to Critical or Emergency, lower-severity exceptions won't be captured
- Clear the Magento cache after changing configuration
- Trigger a known error (e.g., visit a non-existent product URL) and check the grid again
- Run the self-test to verify all components are working
- Check
var/log/exception-monitor-debug.log(enable Debug Mode first) to see if the handler is receiving log entries
Prevention:
- After initial setup, always verify that exceptions appear by triggering a test error
Issue: Too many exceptions flooding the grid
Symptoms:
- Grid has thousands of entries, making it hard to find relevant ones
- Database table growing rapidly
- Statistics show very high numbers
Solution:
- Raise the minimum severity level to Error or Critical to filter out warnings and notices
- Sort the grid by Count (descending) to identify the noisiest exceptions
- Investigate and fix the top offenders — a single recurring exception can generate hundreds of entries
- Reduce retention days if the table is too large
- Use "Delete Selected" mass action to remove resolved entries
- Consider whether a noisy third-party module is generating excessive log entries
Prevention:
- Don't run Debug severity on production permanently
- Review and address high-count exceptions regularly to keep the grid manageable
Issue: Cleanup cron not removing old entries
Symptoms:
- Entries older than the retention period still appear in the grid
- Self-test shows cron check as failed
- The
magmodules_exception_logtable keeps growing
Solution:
- Verify Magento cron is running: check
cron_scheduletable for recent entries - Run the self-test — the cron check verifies the cleanup job has run in the last 24 hours
- Check that retention days is set to a valid number (not zero or empty)
- Verify the
exception_monitorcron group is not disabled - Check
var/log/cron.logfor errors related tomagmodules_exception_cleanup
Prevention:
- Monitor the self-test periodically to catch cron failures early
Issue: Stack trace not available for an exception
Symptoms:
- Click "View Trace" but the stack trace section shows "No trace available"
- Exception details show message and file but trace is empty
Solution:
- This is normal for some log entries — not all logged errors include a Throwable exception object with a trace
- Errors logged via
$logger->warning('message')without an exception context won't have a trace - The module uses
debug_backtrace()as a fallback to identify the file and line, but may not capture a full trace in all scenarios - For exceptions you need traces on, ensure the calling code passes the exception object in the context array:
$logger->error('message', ['exception' => $e])
Prevention:
- This is expected behavior for non-exception log entries, not a module bug
Issue: Exception count seems incorrect
Symptoms:
- Count shows a number that doesn't match how many times you've seen the error
- After a code change, old count persists for what feels like a different exception
Solution:
- Deduplication is based on message + file — if two different exceptions have the same message and originate from the same file, they're grouped as one
- After deploying a fix, the old entry continues to accumulate counts if the same message appears again from the same file
- Delete the old entry after deploying a fix to start the count fresh
- If the message text is dynamic (includes IDs, timestamps, etc.), each unique message creates a separate entry — this is expected
Prevention:
- After fixing a recurring exception, delete its grid entry to get a clean count going forward
Issue: Grid loads slowly
Symptoms:
- Exception grid takes a long time to render
- Admin panel becomes sluggish when viewing the exception list
Solution:
- Check the total number of entries — a very large table slows down queries
- Reduce retention days to remove old entries automatically
- Use "Clear All" if the table has grown excessively (tens of thousands of entries)
- Raise the minimum severity level to reduce the number of new entries being captured
- Check that the database indexes on
magmodules_exception_logare intact
Prevention:
- Keep retention days reasonable (30 days is enough for most stores)
- Don't run Debug severity on production stores with high traffic
Issue: Self-test shows cron failure but cron is running
Symptoms:
- Magento cron is running fine for other modules
- Self-test specifically fails on the Exception Monitor cron check
Solution:
- The self-test checks for the
magmodules_exception_cleanupjob specifically in thecron_scheduletable - The job runs once daily at 3:00 AM — if it hasn't been 24 hours since module installation, it may not have run yet
- Check if the
exception_monitorcron group is properly configured - Verify there are no PHP errors in
var/log/cron.logfor this specific job
Prevention:
- Wait 24 hours after installation before checking the cron status
Debug Mode
Enable debug logging to get more details about the module's internal operations:
- Go to Stores > Configuration > Magmodules > Exception Monitor > Debug & Logging
- Set Debug Mode to Yes
- Save and clear cache
- Let the store run for a while or trigger some test errors
- Use the Error/Debug Log Stream button to view logs directly in the admin, or check
var/log/exception-monitor-debug.logon the server
The debug log shows what the exception handler receives, how it processes entries, and whether deduplication is working as expected.
Need More Help?
Documentation:
- All Help Articles - Complete documentation overview
Support:
- Contact Support - Get help from our team
For a complete overview of features and configuration options, see Exception & Error Monitor for Magento 2.
