Title: Error when saving settings on PHP 8.x
Last modified: March 30, 2026

---

# Error when saving settings on PHP 8.x

 *  Resolved [Marcos Nakamine](https://wordpress.org/support/users/marcosnakamine/)
 * (@marcosnakamine)
 * [2 months, 1 week ago](https://wordpress.org/support/topic/error-when-saving-settings-on-php-8-x/)
 * Hi
 * I found an error on line 510 of this file `wp-content/plugins/website-file-changes-
   monitor/classes/admin/class-admin-manager.php`
 * Original:
 *     ```wp-block-code
       $posted_scan_time = $posted['scan-hour'] . ':00' . ' ' . strtoupper( $posted['scan-hour-am'] );
       ```
   
 * Modified:
 *     ```wp-block-code
       $posted_scan_time = $posted['scan-hour'] . ':00' . ' ' . strtoupper( $posted['scan-hour-am'] ?? '' );
       ```
   
 * Thanks for the awesome plugin!

Viewing 1 replies (of 1 total)

 *  Plugin Support [Lucian Padureanu](https://wordpress.org/support/users/lucianwpwhite/)
 * (@lucianwpwhite)
 * [2 months, 1 week ago](https://wordpress.org/support/topic/error-when-saving-settings-on-php-8-x/#post-18867501)
 * Thank you for taking your time to report this [@marcosnakamine](https://wordpress.org/support/users/marcosnakamine/)!
   
   I have added this internally and we will make sure to include this in our upcoming
   release for sure!Many thanks and have a wonderful day ahead!

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-saving-settings-on-php-8-x%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Lucian Padureanu](https://wordpress.org/support/users/lucianwpwhite/)
 * Last activity: [2 months, 1 week ago](https://wordpress.org/support/topic/error-when-saving-settings-on-php-8-x/#post-18867501)
 * Status: resolved