Parse error: syntax error, unexpected '}', expecting end of file in D:\Projects\NIVISOLUTIONS\wp-includes\class-walker-comment.php on line 8

Fatal error: Uncaught Error: Call to undefined function wp_kses_normalize_entities() in D:\Projects\NIVISOLUTIONS\wp-includes\formatting.php:4338 Stack trace: #0 D:\Projects\NIVISOLUTIONS\wp-includes\class-wp-fatal-error-handler.php(190): esc_url('https://wordpre...') #1 D:\Projects\NIVISOLUTIONS\wp-includes\class-wp-fatal-error-handler.php(147): WP_Fatal_Error_Handler->display_default_error_template(Array, false) #2 D:\Projects\NIVISOLUTIONS\wp-includes\class-wp-fatal-error-handler.php(52): WP_Fatal_Error_Handler->display_error_template(Array, false) #3 [internal function]: WP_Fatal_Error_Handler->handle() #4 {main} thrown in D:\Projects\NIVISOLUTIONS\wp-includes\formatting.php on line 4338