Title: Error when saving settings
Last modified: August 29, 2025

---

# Error when saving settings

 *  Resolved [moholkar](https://wordpress.org/support/users/moholkar/)
 * (@moholkar)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/error-when-saving-settings-5/)
 * I have File Monitor installed and working fine, it scans and sends reports as
   expected.
   But when I try and save the settings (from any of the four tabs) I 
   get a WordPress error: “There has been a critical error on this website. Please
   check your site admin email inbox for instructions. If you continue to have problems,
   please try the support forums.”The email that follows includes this info:WordPress
   version 6.8.2Active theme: Divi (version 4.27.4)Current plugin: Melapress File
   Monitor (version 2.2.1)PHP version 8.2.29 Error Details
 * An error of type E_ERROR was caused in line 487 of the file [pathname elided]/
   wp-content/plugins/website-file-changes-monitor/classes/admin/class-admin-manager.
   php.
   Error message: Uncaught TypeError: strtoupper(): Argument #1 ($string) must
   be of type string, null given in [pathname elided]/wp-content/plugins/website-
   file-changes-monitor/classes/admin/class-admin-manager.php:487Stack trace:0 [
   pathname elided]/new/wp-content/plugins/website-file-changes-monitor/classes/
   admin/class-admin-manager.php(487): strtoupper()1 [pathname elided]/new/wp-includes/
   class-wp-hook.php(324): MFM\Admin\Admin_Manager::save_options()2 [pathname elided]/
   new/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()3 [pathname elided]/
   new/wp-includes/plugin.php(517): WP_Hook->do_action()4 [pathname elided]/new/
   wp-admin/admin.php(238): do_action()5 {main}
 * thrown

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

 *  Plugin Support [Lucian Padureanu](https://wordpress.org/support/users/lucianwpwhite/)
 * (@lucianwpwhite)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/error-when-saving-settings-5/#post-18619275)
 * Hello [@moholkar](https://wordpress.org/support/users/moholkar/) 
   I am really
   sorry to hear about this experience!
 * I have reviewed the error stack provided which was very helpful, and I noticed
   an error which comes indeed from our plugin, and for which we have created a 
   patch which I am sure will fix the error.
 * You can download it from our website [here](https://melapress.com/support/plugins-patches/)
   under the name of “**Patch for error when saving settings – build 20250319 “**(
   check bottom page)
   It is an updated version of the plugin with the fix, so to
   install it:
    1. Navigate to the plugin’s page in your WordPress dashboard
    2. Click **Add New **and then **Upload Plugin** and upload the patch zip file
    3. Click **Replace current with uploaded** when asked if you want to replace the
       current plugin installation
 * The fix will also be included in the upcoming plugin update, so you can safely
   update once the new release it’s available.
   Let me know how it goes after trying
   the patch.
 *  Thread Starter [moholkar](https://wordpress.org/support/users/moholkar/)
 * (@moholkar)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/error-when-saving-settings-5/#post-18619479)
 * Hi Lucian, that’s great, thank you for the quick patch!
   The problem seems to 
   be fixed now, I can save the settings as expected.
 *  Plugin Support [Lucian Padureanu](https://wordpress.org/support/users/lucianwpwhite/)
 * (@lucianwpwhite)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/error-when-saving-settings-5/#post-18619487)
 * Thank you so much for confirming the fix, [@moholkar](https://wordpress.org/support/users/moholkar/)!
   
   If I can ask for a one minute favor, can you drop us a [review here](https://wordpress.org/support/plugin/website-file-changes-monitor/reviews/#new-post)
   as well? These review take only one minute to post, but they really help out!
   Have an amazing weekend ahead!
 *  [Wendihihihi](https://wordpress.org/support/users/wendihihihi/)
 * (@wendihihihi)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/error-when-saving-settings-5/#post-18654290)
 * Error is still there. Please update the plugin
 *  Plugin Author [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/error-when-saving-settings-5/#post-18654629)
 * Hello [@wendihihihi](https://wordpress.org/support/users/wendihihihi/)
 * If you are experiencing a problem with the plugin please open your own forum 
   thread so we can assist you. Thank you for your cooperation.

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

The topic ‘Error when saving settings’ 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/)

## Tags

 * [Saving](https://wordpress.org/support/topic-tag/saving/)
 * [settings](https://wordpress.org/support/topic-tag/settings/)

 * 5 replies
 * 4 participants
 * Last reply from: [robertabela](https://wordpress.org/support/users/robert681/)
 * Last activity: [8 months, 2 weeks ago](https://wordpress.org/support/topic/error-when-saving-settings-5/#post-18654629)
 * Status: resolved