Uncaught Exceptions
-
We have been receiving a ton of alerts from WordPress where Uncaught exceptions are being thrown in the protected function _CommitItem found in the /wp-security-audit-log/classes/AlertManager.php file.
Error Details ============= An error of type E_ERROR was caused in line 359 of the file /home/user/domain.com/wp-content/plugins/wp-security-audit-log/classes/AlertManager.php. Error message: Uncaught Exception: Event with code 6051 has not be registered. in /home/user/domain.com/wp-content/plugins/wp-security-audit-log/classes/AlertManager.php:359 Stack trace: #0 /home/user/domain.com/wp-content/plugins/wp-security-audit-log/classes/AlertManager.php(355): WSAL_AlertManager->_CommitItem(6051, Array, NULL, false) #1 /home/user/domain.com/wp-content/plugins/wp-security-audit-log/classes/AlertManager.php(240): WSAL_AlertManager->_CommitItem(6051, Array, NULL) #2 /home/user/domain.com/wp-content/plugins/wp-security-audit-log/classes/Settings.php(474): WSAL_AlertManager->Trigger(6051, Array) #3 /home/user/domain.com/wp-content/plugins/wp-security-audit-log/classes/Settings.php(1613): WSAL_Settings->SetIncognito(true) #4 /home/user/domain.com/wp-content/plugins/wp-security-audit-log/wp-security-audit-log.php(1436): WSAL_Settings->seIt has to do with several unregistered Event IDs.
If your plugin throws an exception, it should handle it, because otherwise the site goes down temporarily when the Exception is thrown. That is not a very good practice.
Are there any plans to fix this issue?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Uncaught Exceptions’ is closed to new replies.