Title: Deprecated function in wp-includes functions.php
Last modified: March 24, 2024

---

# Deprecated function in wp-includes functions.php

 *  [ackers123](https://wordpress.org/support/users/ackers123/)
 * (@ackers123)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/deprecated-function-in-wp-includes-functions-php/)
 * After updating to WordPress 6.4.2 I am getting the following error:
 * **Deprecated**: Function the_block_template_skip_link is deprecated since version
   6.4.0! Use wp_enqueue_block_template_skip_link() instead. in **/www/camunipress_755/
   public/wp-includes/functions.php** on line **6031**
 * If I navigate to that line of code within the codebase I have the following:
 * `trigger_error( $message, $error_level );`
 * I have searched for that function but it doesn’t seem to be being used within
   my codebase. I have deactivated all plugins but I still get the error. Any help
   with this would be appreciated!

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/deprecated-function-in-wp-includes-functions-php/#post-17278726)
 * Try [downloading WordPress](https://wordpress.org/download/) again, access your
   server via [SFTP or FTP](https://wordpress.org/support/article/ftp-clients/),
   or a file manager in your hosting account’s control panel (consult your hosting
   provider’s documentation for specifics on these), and delete then replace your
   copies of everything on the server **except** the wp-config.php file and the /
   wp-content/ directory with fresh copies from the download. This will effectively
   replace all of your core files without damaging your content and settings.
 * If you’d like to manually make a backup of your site first, please follow the
   steps at [https://wordpress.org/documentation/article/wordpress-backups/](https://wordpress.org/documentation/article/wordpress-backups/)
 * Some uploaders tend to be unreliable when overwriting files, so don’t forget 
   to delete the original files before replacing them.
 * If that makes no difference, access your server via [SFTP or FTP](https://wordpress.org/support/article/ftp-clients/),
   or a file manager in your hosting account’s control panel (consult your hosting
   provider’s documentation for specifics on these), navigate to /wp-content/themes/
   and rename the directory of your currently active theme. Hopefully, this will
   force the default theme to activate and rule out a theme-specific issue (theme
   functions can interfere like plugins).
 *  [mrtom414](https://wordpress.org/support/users/mrtom414/)
 * (@mrtom414)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/deprecated-function-in-wp-includes-functions-php/#post-17279417)
 * Since updating wordpress caused the Deprecated error. It most likely in a plugin
   or theme that generating the error. The version of wordpress you updated to doesn’t
   support that function any longer. You could steep back down to a lower version
   of wordpress where the function is still being supported. You porbably need to
   make sure your theme and your plugins are all up to date. If any of the plugins
   or themes haven’t been updated in a long time. I would look at those files. Here
   is the page that show the annoucment of the file being deprecated [https://developer.wordpress.org/reference/functions/the_block_template_skip_link](https://developer.wordpress.org/reference/functions/the_block_template_skip_link/)
 * [ /](https://developer.wordpress.org/reference/functions/the_block_template_skip_link/)
   it shows the function should be changed to wp_enqueue_block_template_skip_link().
 *  [Radyo](https://wordpress.org/support/users/radyolar/)
 * (@radyolar)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/deprecated-function-in-wp-includes-functions-php/#post-17287922)
 * **Deprecated**: Function **_the\_block\_template\_skip\_link_** is deprecated
   since version 6.4.0! Use wp_enqueue_block_template_skip_link() instead. in **/
   home/x/public_html/wp-includes/functions.php** on line **6031**
 * 
   The function `the_block_template_skip_link`, which is causing this error, cannot
   be found in either files or the database. Its name is only mentioned in three
   files within the wp-includes directory. However, it can consistently trigger 
   the debug error.
 * Reinstalling WP didn’t work either. How can I solve this problem?
 *  Thread Starter [ackers123](https://wordpress.org/support/users/ackers123/)
 * (@ackers123)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/deprecated-function-in-wp-includes-functions-php/#post-17289333)
 * Hi
 * I have reinstalled a fresh install of the latest version of WordPress and deactivated
   all plugins to ensure that they weren’t generating the error but I am still getting
   the same error.
 * **Deprecated**: Function the_block_template_skip_link is deprecated since version
   6.4.0! Use wp_enqueue_block_template_skip_link() instead. in **/www/camunipress_755/
   public/wp-includes/functions.php** on line **6031**
 * Are there any other suggestions? Many thanks!
 *  [delvyg](https://wordpress.org/support/users/delvyg/)
 * (@delvyg)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/deprecated-function-in-wp-includes-functions-php/#post-17313987)
 * The same problem happened to me, and I was finally able to solve it by installing
   version 6.4 (November 2023) and removing the jetpack plugin (which apparently
   was causing the problem). It is advisable to activate the wp-config debug to 
   true to see the error generated. Try to do it that way.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Deprecated function in wp-includes functions.php’ is closed to new replies.

## Tags

 * [error wordpress](https://wordpress.org/support/topic-tag/error-wordpress/)
 * [update](https://wordpress.org/support/topic-tag/update/)
 * [WordPress](https://wordpress.org/support/topic-tag/wordpress/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 12 participants
 * Last reply from: [delvyg](https://wordpress.org/support/users/delvyg/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/deprecated-function-in-wp-includes-functions-php/#post-17313987)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
