Title: Undefined function calls in theme
Last modified: October 31, 2017

---

# Undefined function calls in theme

 *  [internationils](https://wordpress.org/support/users/internationils/)
 * (@internationils)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/undefined-function-calls-in-theme-2/)
 * I’m getting tons of these errors on various sites of mine:
    2017-10-30_00:17:
   04_PHP Fatal error: Call to undefined function the_ID() in /srv/data/web/vhosts/
   mysite.net/htdocs/wp-content/themes/twentyfifteen/content.php on line 13 2017-
   10-30_06:39:10_PHP Fatal error: Call to undefined function get_header() in /srv/
   data/web/vhosts/mysite.net/htdocs/wp-content/themes/twentyfifteen/archive.php
   on line 19 2017-10-30_01:23:25_PHP Fatal error: Call to undefined function get_header()
   in /srv/data/web/vhosts/mysite.de/htdocs/wp-content/themes/twentysixteen/404.
   php on line 10 PHP Fatal error: Call to undefined function _e() in /srv/data/
   web/vhosts/mysite.com/htdocs/wp-content/themes/twentyfifteen/author-bio.php on
   line 12 PHP Fatal error: Call to undefined function get_template_part() in /srv/
   data/web/vhosts/mysite.com/htdocs/wp-content/themes/twentyseventeen/footer.php
   on line 22
 * It seems that the latest core update removed functions and the 2015 theme hasn’t
   been updated yet? Some of these errors are in the 2016 and 2017 themes as well…
   
   Thanks…

The topic ‘Undefined function calls in theme’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/twentyfifteen/4.2/screenshot.png)
 * Twenty Fifteen
 * [Support Threads](https://wordpress.org/support/theme/twentyfifteen/)
 * [Active Topics](https://wordpress.org/support/theme/twentyfifteen/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/twentyfifteen/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/twentyfifteen/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [internationils](https://wordpress.org/support/users/internationils/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/undefined-function-calls-in-theme-2/)
 * Status: not resolved