Title: icedman21's Replies | WordPress.org

---

# icedman21

  [  ](https://wordpress.org/support/users/icedman21/)

 *   [Profile](https://wordpress.org/support/users/icedman21/)
 *   [Topics Started](https://wordpress.org/support/users/icedman21/topics/)
 *   [Replies Created](https://wordpress.org/support/users/icedman21/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/icedman21/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/icedman21/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/icedman21/engagements/)
 *   [Favorites](https://wordpress.org/support/users/icedman21/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Activity Log] Uncaught Exceptions](https://wordpress.org/support/topic/uncaught-exceptions-2/)
 *  Thread Starter [icedman21](https://wordpress.org/support/users/icedman21/)
 * (@icedman21)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/uncaught-exceptions-2/#post-15328926)
 * Hi [@robert681](https://wordpress.org/support/users/robert681/)
 * Looks like this fix works great.
 * Looking forward to the release of the update.
 * Thanks for your help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Activity Log] Uncaught Exceptions](https://wordpress.org/support/topic/uncaught-exceptions-2/)
 *  Thread Starter [icedman21](https://wordpress.org/support/users/icedman21/)
 * (@icedman21)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/uncaught-exceptions-2/#post-15285236)
 * Hi,
 * 1) WordPress version 5.8.1
    Current theme: X Pro DFX4 Hybrid (version 4.0.0) 
   Current plugin: WP Activity Log (version 4.3.3.1) PHP version 7.2.34
 * 2) This happens when certain events that have not been registered are encountered.
 * In the example above, it’s event code 6059 – Error message: Uncaught Exception:
   Event with code 6051 has not be registered.
 * When that happens, the function _CommitItem() in the /wp-content/plugins/wp-security-
   audit-log/classes/AlertManager.php(355): WSAL_AlertManager file throws an exception:
 * `throw new Exception( sprintf( esc_html__( 'Event with code %d has not be registered.','
   wp-security-audit-log' ), $type ) );`
 * This is not handled by any handler and causes the site to go down temporarily.
 * It seems there is no exception handler for this. So, would it be possible to 
   implement an exception handler or add a try-catch block that will handle the 
   exception and prevent the site from going down?
 * 3) Yes, the3 plugin works but it brongs down the site from time to time when 
   unregistered events are encountered.

Viewing 2 replies - 1 through 2 (of 2 total)