Error when saving settings
-
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.2
Active theme: Divi (version 4.27.4)
Current plugin: Melapress File Monitor (version 2.2.1)
PHP version 8.2.29 Error DetailsAn 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:487
Stack 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
The topic ‘Error when saving settings’ is closed to new replies.