Title: Fatal error: Call to undefined function
Last modified: August 22, 2016

---

# Fatal error: Call to undefined function

 *  Resolved [agr42](https://wordpress.org/support/users/agr42/)
 * (@agr42)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-63/)
 * I can’t access my admin or website am getting the following error message:
 * Fatal error: Call to undefined function get_template_directory() in /home/content/
   51/10755751/html/web/indiacool/wp-includes/functions.php on line 17
 * The problem occurred when I tried to change some code in my theme’s ‘function.
   php’
 * Via FTP I’ve replaced the ‘function.php’ file with the original, unedited version.
   But I am still getting this error code.
 * Any ideas on how to fix this problem, so I can access my admin panel again will
   be greatly appreciated.
 * Thanks

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

 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-63/#post-5420825)
 * Please clear both local browser cache **after** making sure to _manually clear
   any server cache in use_. You will need to discover which caching plugin and/
   or host provided server caching is in use to do so.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-63/#post-5420828)
 * you seem to have replaced the wrong funtions.php; the error messages refers to
   the **/wp-includes/** folder, not your theme’s folder **/wp-content/themes/yourthemename/**.
 * use FTP to put an original copy of the **/wp-includes/functions.php** into the**/
   wp-includes/** folder
 *  Thread Starter [agr42](https://wordpress.org/support/users/agr42/)
 * (@agr42)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-63/#post-5420835)
 * Thanks for your help, that workded

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

The topic ‘Fatal error: Call to undefined function’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [agr42](https://wordpress.org/support/users/agr42/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-63/#post-5420835)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
