Title: Uncaught exception
Last modified: August 21, 2016

---

# Uncaught exception

 *  Resolved [Henrique Mouta](https://wordpress.org/support/users/vaurdan/)
 * (@vaurdan)
 * [12 years ago](https://wordpress.org/support/topic/uncaught-exception-2/)
 * Hello.
    I’ve activated one of the plugin options on the multisite backoffice,
   and now it gives me a fatal error:
 *     ```
       PHP Fatal error:  Uncaught exception 'Exception' with message 'Alert with code "5001" has not be registered.' in /wp-content/plugins/wp-security-audit-log/classes/AlertManager.php:86, referer: http://mysite.com/wp-admin/network/plugins.php
       Stack trace:, referer: http://mysite.com/wp-admin/network/plugins.php
       #0 /wp-content/plugins/wp-security-audit-log/classes/AlertManager.php(55): WSAL_AlertManager->_CommitItem(5001, Array, NULL), referer: http://mysite.com/wp-admin/network/plugins.php
       #1 /wp-content/plugins/wp-security-audit-log/classes/Sensors/PluginsThemes.php(69): WSAL_AlertManager->Trigger(5001, Array), referer: http://mysite.com/wp-admin/network/plugins.php
       #2 [internal function]: WSAL_Sensors_PluginsThemes->EventAdminShutdown(''), referer: http://mysite.com/wp-admin/network/plugins.php
       #3 /wp-includes/plugin.php(429): call_user_func_array(Array, Array), referer: http://mysite.com/wp-admin/network/plugins.php
       #4 /wp-includes/load.php(580): do_action('shutdown'), referer: http://mysite.com/wp-admin/network/plugins.php
       #5 [internal function]: shutdown_action_hook(), referer: http://mysite.com/wp-admin/network/plugins.php
       #6 {main}, referer: http://mysite.com/wp-admin/network/plugins.php
       thrown in /wp-content/plugins/wp-security-audit-log/classes/AlertManager.php on line 86, referer: http://mysite.com/wp-admin/network/plugins.php
       ```
   
 * I’ve already deleted the options prefixed with WPPH_ and dropped the table wp_wordpress_auditlog_events
   and I still get that fatal on activation.
 * Any help?
 * [https://wordpress.org/plugins/wp-security-audit-log/](https://wordpress.org/plugins/wp-security-audit-log/)

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

 *  [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * (@wpwhitesecurity)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/uncaught-exception-2/#post-5002774)
 * HI Henrique,
 * Sorry to hear you’ve encountered problems. Some questions:
 * 1. Which option are we talking about here?
    2. Which version of the plugin are
   you using?
 * The tables you mentioned are from an older version of the plugin. If you’ve done
   an upgrade you can delete them.
 * Looking forward to hearing from you.
 *  Thread Starter [Henrique Mouta](https://wordpress.org/support/users/vaurdan/)
 * (@vaurdan)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/uncaught-exception-2/#post-5002810)
 * I’ve activated the 4 options as seen on [https://ps.w.org/wp-security-audit-log/assets/screenshot-2.png?rev=918020](https://ps.w.org/wp-security-audit-log/assets/screenshot-2.png?rev=918020)(
   Developer Options).
 * It is the latest version.
 * Thanks for your help.
 *  [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * (@wpwhitesecurity)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/uncaught-exception-2/#post-5002824)
 * Hi Henrique,
 * Sorry for the delay in replying. We identified the issue and have a fix. You 
   can download the fix / latest non public version of the plugin from the following
   [link](http://www.wpwhitesecurity.com/downloads/plugins/support/wp-security-audit-log_Henrique.zip).
 * **P.S. **sometimes the link from here does not work. If that is the case right
   click the link, copy the link and paste it in a new browser window.
 * Even though it is not available to the public, this version is tested. To update
   your plugin, please follow the below procedure:
 * 1. Disable the plugin from WordPress
 * 2. Using FTP delete the plugin directory (/website/wp-content/plugins/wp-security-
   audit-log/)
 * 3. Extract the zip file you’ve just downloaded
 * 4. Upload the new update of the plugin
 * 5. Activate the plugin
 * Can you please advise us if the fix works or not? It should work though would
   be great if you can confirm to us.
 * Thank you for reporting the issue and looking forward to hearing from you.
 *  Thread Starter [Henrique Mouta](https://wordpress.org/support/users/vaurdan/)
 * (@vaurdan)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/uncaught-exception-2/#post-5002845)
 * It didn’t work, it now activated, but I got another fatal error:
 * `PHP Fatal error: Call to undefined function is_user_logged_in() in /wp-content/
   plugins/wp-security-audit-log/classes/AlertManager.php on line 189, referer: 
   http://mysite.com/wp-admin/network/plugins.php`
 * Thanks for your help!
 *  [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * (@wpwhitesecurity)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/uncaught-exception-2/#post-5002855)
 * Hi Henrique,
 * That was another issue from our end, sorry for that. Can you please download 
   the latest fix from this [link](http://www.wpwhitesecurity.com/downloads/plugins/support/wp-security-audit-log_Henrique.zip)
   and let us know if it works out for you?
 * thanks a lot for reporting these issues and looking forward to hearing from you.
 *  [atpoole](https://wordpress.org/support/users/atpoole/)
 * (@atpoole)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/uncaught-exception-2/#post-5002919)
 * Hi, we are having the same issue here. Tried clicking the link to download fix,
   but doesnt work. Can you please reupload?
 *  [atpoole](https://wordpress.org/support/users/atpoole/)
 * (@atpoole)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/uncaught-exception-2/#post-5002920)
 * `Fatal error: Uncaught exception 'Exception' with message 'Alert with code "5001"
   has not be registered.' in C:\Wordpress\wordpress\wp-content\plugins\wp-security-
   audit-log\classes\AlertManager.php:107 Stack trace: #0 C:\Wordpress\wordpress\
   wp-content\plugins\wp-security-audit-log\classes\AlertManager.php(77): WSAL_AlertManager-
   >_CommitItem(5001, Array, NULL) #1 C:\Wordpress\wordpress\wp-content\plugins\
   wp-security-audit-log\classes\Sensors\PluginsThemes.php(69): WSAL_AlertManager-
   >Trigger(5001, Array) #2 [internal function]: WSAL_Sensors_PluginsThemes->EventAdminShutdown('')#
   3 C:\Wordpress\wordpress\wp-includes\plugin.php(470): call_user_func_array(Array,
   Array) #4 C:\Wordpress\wordpress\wp-includes\load.php(573): do_action('shutdown')#
   5 [internal function]: shutdown_action_hook() #6 {main} thrown in C:\Wordpress\
   wordpress\wp-content\plugins\wp-security-audit-log\classes\AlertManager.php on
   line 107`
 * New install, so on latest version of plugin
 *  [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * (@wpwhitesecurity)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/uncaught-exception-2/#post-5002921)
 * Hi Atpoole,
 * We just issued a fixed in version 1.2.6 of the plugin today. Please download 
   the latest version and advise.
 * Thanks a lot for using our plugin and have a great day.
 *  [atpoole](https://wordpress.org/support/users/atpoole/)
 * (@atpoole)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/uncaught-exception-2/#post-5002922)
 * Unfortunately the exact error still appears. I tried doing a fresh install (removing
   wsal tables and reinstalling plugin) and error still appears when you activate
   and delete plugin. Error does not appear when you deactivate.
 *  Plugin Support [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/uncaught-exception-2/#post-5002923)
 * Hi Atpoole,
 * We are looking into it today. Will keep you posted of the progress and will let
   you know should we need any further information.
 * Stay tuned.
 *  [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * (@wpwhitesecurity)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/uncaught-exception-2/#post-5002927)
 * HI Atpoole,
 * Trust this message finds you well.
 * We just issued a fix for your problem. Can you please update to version 1.2.7
   and confirm if the issue is solved?
 * Thank you.

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

The topic ‘Uncaught exception’ is closed to new replies.

 * ![](https://ps.w.org/wp-security-audit-log/assets/icon-256x256.png?rev=2961534)
 * [WP Activity Log](https://wordpress.org/plugins/wp-security-audit-log/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-security-audit-log/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-security-audit-log/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-security-audit-log/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-security-audit-log/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-security-audit-log/reviews/)

 * 11 replies
 * 4 participants
 * Last reply from: [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/uncaught-exception-2/#post-5002927)
 * Status: resolved