Title: Errors during saving
Last modified: March 17, 2025

---

# Errors during saving

 *  Resolved [ivancza](https://wordpress.org/support/users/ivancza/)
 * (@ivancza)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/errors-during-saving/)
 * Hello!
 * I would like to know why when I change the plugin settings in the WordPress admin
   interface and try to save it, I get the following errors:
 * PHP Warning: Undefined array key “scan-hour-am” in /wp-content/plugins/website-
   file-changes-monitor/classes/admin/class-admin-manager.php on line 487
 * PHP Fatal error: Uncaught TypeError: strtoupper(): Argument #1 ($string) must
   be of type string, null given in /wp-content/plugins/website-file-changes-monitor/
   classes/admin/class-admin-manager.php:487
   Stack trace:0 /wp-content/plugins/website-
   file-changes-monitor/classes/admin/class-admin-manager.php(487): strtoupper()
   1 /wp-includes/class-wp-hook.php(324): MFM\Admin\Admin_Manager::save_options()
   2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()3 /wp-includes/
   plugin.php(517): WP_Hook->do_action()4 /wp-admin/admin.php(237): do_action()5{
   main}thrown in /wp-content/plugins/website-file-changes-monitor/classes/admin/
   class-admin-manager.php on line 487
 * Thanks in advance!

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

 *  Plugin Support [Lucian Padureanu](https://wordpress.org/support/users/lucianwpwhite/)
 * (@lucianwpwhite)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/errors-during-saving/#post-18367118)
 * Hello [@shamrock82](https://wordpress.org/support/users/shamrock82/),
 * I’m really sorry to hear about your experience with the plugin!
 * This is the first time someone reports this, and I wasn’t able to reproduce the
   issue based on the steps described, so I’ll need a few more details to investigate
   further.
    1. Can you confirm if you are using the latest **2.2.1** version of the plugin 
       when this occurs? Also, what **PHP version** and **WordPress Core version** 
       is your site running?
    2. Could you provide a more detailed breakdown of the steps required to reproduce
       this? Specifically, what settings were applied before saving the page? If possible,
       a **screenshot of the settings** would be very helpful.
    3. As a troubleshooting step, can you try **removing the plugin completely** and
       reinstalling it? Before doing so, please ensure that all **MFM_ prefixed entries**
       in your **wp_options** table are removed so that no old settings persist. After
       that, reinstall the plugin and see if the issue persists.
    4. Last but not least, is this error causing a complete site crash, or maybe it’s
       just a one-time error causing some malfunctions of the plugin? A few more details
       on how this affects the plugin/site will also be useful to know.
 * Let me know how it goes, and I’ll be happy to assist further!
 *  Thread Starter [ivancza](https://wordpress.org/support/users/ivancza/)
 * (@ivancza)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/errors-during-saving/#post-18367777)
 * I just installed the plugin to test it on another site where it wasn’t installed
   before. Unfortunately, the same problem occurs.
 * The scan runs fine: [https://prnt.sc/2i4qUYfVheyH](https://prnt.sc/2i4qUYfVheyH)(
   I also receive an email about it)
 * However, even without making any changes, if I want to save the settings, it 
   immediately throws the errors, both the frontend and the debug.log file that 
   I copied:
 * Versions used by us:
 * PHP: 8.1.31
 * WordPress: 6.7.2
 * Melapress File Monitor: 2.2.1
 * Thanks!
 *  Plugin Support [Lucian Padureanu](https://wordpress.org/support/users/lucianwpwhite/)
 * (@lucianwpwhite)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/errors-during-saving/#post-18370059)
 * Hello again [@ivancza](https://wordpress.org/support/users/ivancza/)!
 * Great news! After running a few more tests, we were able to pinpoint the exact
   cause of the issue, and we’ve created a patched build that should resolve this
   for you.
 * You can download the[ patch here](https://melapress.com/support/plugins-patches/):(
   scroll to the bottom of the page).
   **Installation Steps:**
    1. Head to the **Plugins** page in your WordPress dashboard.
    2. Click **“Upload Plugin.”**
    3. Upload and install the patched version (if File Monitor is already installed,
       simply replace the existing installation).
 * Everything should work as expected after applying the patch! This fix will also
   be included in the upcoming plugin update, so once it’s available, you can update
   as usual.
 * Looking forward to your feedback—let me know how it goes!
 *  Thread Starter [ivancza](https://wordpress.org/support/users/ivancza/)
 * (@ivancza)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/errors-during-saving/#post-18374050)
 * It works fine 🙂
 * Thanks for the quick help!
 *  Plugin Support [Lucian Padureanu](https://wordpress.org/support/users/lucianwpwhite/)
 * (@lucianwpwhite)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/errors-during-saving/#post-18374055)
 * Thank you for confirming this for me Ivan! I am glad it all worked out!
 * Should you have any other questions, please do not hesitate to ask. May I ask
   you for a small favour? Can you please spare a minute to [**rate our plugin and service**](https://wordpress.org/support/plugin/website-file-changes-monitor/reviews/)?
   These ratings are really helpful!
 * Thank you in advance for your time!
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [1 year, 3 months ago](https://wordpress.org/support/topic/errors-during-saving/#post-18374450)
 * [@lucianwpwhite](https://wordpress.org/support/users/lucianwpwhite/) Are you 
   part of the developer’s team to support this plugin? If yes then please ask them
   to add you as a plugin support role.

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

The topic ‘Errors during saving’ 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/)

 * 9 replies
 * 4 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/errors-during-saving/#post-18374450)
 * Status: resolved