WordPress is updated but an error

We updated WordPress to the latest version but an error comes from updated version:
Deprecated: Function the_block_template_skip_link is deprecated since version 6.4.0! Use wp_enqueue_block_template_skip_link() instead. in /wp-includes/functions.php on line 6031

	trigger_error( $message, $error_level );

How to manage such errors?
It was index.php/sample-page/

What happed when you followed the instruction?:-

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.