Fatal error: Uncaught TypeError Class File_Helper
-
Hi,
after updating to version 4.4.3, I receive an Uncaught TypeError, when I for instance want to edit a page. I got the same error when I tried to activate the plugin and as a workaround I forced the type on the return value.Is that a known issue? Maybe this is already addressed in the upcoming Update.
Thanks in advance!
WordPress is at version 6.1.1.
Fatal error: Uncaught TypeError: Return value of WSAL\Helpers\File_Helper::write_to_file() must be of the type bool, null returned in /wp-content/plugins/wp-security-audit-log-premium/classes/Helpers/class-file-helper.php:107 Stack trace: #0 /web/wp-content/plugins/wp-security-audit-log-premium/classes/Helpers/class-file-helper.php(49): WSAL\Helpers\File_Helper::write_to_file() #1 /wp-content/plugins/wp-security-audit-log-premium/classes/Settings.php(248): WSAL\Helpers\File_Helper::create_index_file() #2 /wp-content/plugins/wp-security-audit-log-premium/extensions/external-db/classes/MirrorLogger.php(138): WSAL_Settings::get_working_dir_path_static() #3 /wp-content/plugins/wp-security-audit-log-premium/extensions/external-db/classes/MirrorLogger.php(80): WSAL_Ext_MirrorLogger->handle_failed_attempt() #4 /wp-content/plugins/wp-security-audit-log-premium/cl in /wp-content/plugins/wp-security-audit-log-premium/classes/Helpers/class-file-helper.php on line 107
The topic ‘Fatal error: Uncaught TypeError Class File_Helper’ is closed to new replies.