Title: Fatal error
Last modified: April 11, 2022

---

# Fatal error

 *  Resolved [qwik3r](https://wordpress.org/support/users/qwik3r/)
 * (@qwik3r)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-4121/)
 * Hello. I’m trying to install your plugin to use in conjunction with WP Active
   Monitor. Upon activating it however i received the following fatal error:
 * Fatal error: Uncaught Error: Call to undefined method WpSecurityAuditLog::GetGlobalSetting()
   in /home/public_html/wp-content/plugins/website-file-changes-monitor/includes/
   wfcm-functions.php:386 Stack trace: #0 /home/public_html/wp-includes/class-wp-
   hook.php(307): wfcm_install() #1 /home/public_html/wp-includes/class-wp-hook.
   php(331): WP_Hook->apply_filters() #2 /home/public_html/wp-includes/plugin.php(
   474): WP_Hook->do_action() #3 /home/public_html/wp-admin/plugins.php(194): do_action()#
   4 {main} thrown in /home/public_html/wp-content/plugins/website-file-changes-
   monitor/includes/wfcm-functions.php on line 386
 * Can you please advise?
 * Thanks.
    -  This topic was modified 4 years, 2 months ago by [qwik3r](https://wordpress.org/support/users/qwik3r/).
    -  This topic was modified 4 years, 2 months ago by [qwik3r](https://wordpress.org/support/users/qwik3r/).

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

 *  [andronocean](https://wordpress.org/support/users/andronocean/)
 * (@andronocean)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-4121/#post-15552343)
 * I’m seeing the same error when activating the plugin on a new install. It looks
   like WFCM is trying to call `WpSecurityAuditLog::GetGlobalSetting()`, when it
   should be calling `WpSecurityAuditLog::get_global_setting()`.
 * If you absolutely must get it working now, edit the plugin file at `wp-content/
   plugins/website-file-changes-monitor/includes/wfcm-functions.php`, and change
   line 386 to the following:
 * `$excluded_cpts = $wsal->get_global_setting( 'custom-post-types', '' );`
 * This change will be lost the next time this plugin updates, but that would only
   be a problem if 1) the error isn’t fixed, 2) you’ve deactivated WFCM for some
   reason, and 3) you’ve removed all the WFCM entries from the wp_options table.
 *  Thread Starter [qwik3r](https://wordpress.org/support/users/qwik3r/)
 * (@qwik3r)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-4121/#post-15552859)
 * Thanks. I’d rather wait until a proper fix is in place, but at least someone 
   else is experiencing it too.
 *  Plugin Author [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-4121/#post-15555333)
 * Hello,
 * Thank you very much for using our plugin.
 * Just to confirm, you are experiencing this error because you are running this
   plugin alongside WP Activity Log, and in the most recent version of that plugin
   we’ve changed some things.
 * [@qwik3r](https://wordpress.org/support/users/qwik3r/) for now it is safe to 
   patch it as [@andronocean](https://wordpress.org/support/users/andronocean/) 
   so at least you can run the plugin until we issue a fix. In the next update we
   will include the fix as well.
 * Thank you very much for trying our plugin.
 *  Plugin Author [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-4121/#post-15636949)
 * Hello,
 * Sorry it took us some time, but once we were working on an update we wanted to
   also fit in a few more improvements and bug fixes.
 * Today we released update 1.8.2. Please install this version of the plugin to 
   address your problem.
 * Should you have any other questions or require help, please do not hesitate to
   ask.
 * Have a great day.

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

The topic ‘Fatal error’ is closed to new replies.

 * ![](https://ps.w.org/website-file-changes-monitor/assets/icon-256x256.png?rev
   =2961539)
 * [Melapress File Monitor](https://wordpress.org/plugins/website-file-changes-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/website-file-changes-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/website-file-changes-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/website-file-changes-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/website-file-changes-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/website-file-changes-monitor/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [robertabela](https://wordpress.org/support/users/robert681/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-4121/#post-15636949)
 * Status: resolved