Title: fatal error
Last modified: August 22, 2016

---

# fatal error

 *  [kyvelic](https://wordpress.org/support/users/kyvelic/)
 * (@kyvelic)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-please-help-27/)
 * I was trying to put button into the header-right with genesis and since then 
   I can’t have any access to the website…
 * the link for the site is written bellow:
 * [http://hopemeetsart.net/](http://hopemeetsart.net/)
 * Fatal error: Call to undefined function get_template_directory() in /var/sites/
   h/hopemeetsart.net/public_html/wp-includes/functions.php on line 3
 * Any idea on how to resolve it? I’m desperate as the website is for a client and
   was almost ready… 🙁
 *  Thanks!

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

 *  [juggledad](https://wordpress.org/support/users/juggledad/)
 * (@juggledad)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-please-help-27/#post-5343418)
 * What did you do to put the button in?
 * If you changed the theme code, you could try manually reinstalling the theme
 *  [redrambles](https://wordpress.org/support/users/redrambles/)
 * (@redrambles)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-please-help-27/#post-5343464)
 * Did you try checking out that line of code in your functions.php file? PHP can
   be really unforgiving – perhaps it’s something simple that you can fix? When 
   the PHP gods ain’t happy, nothing works. 🙂
 * Otherwise, try back tracking your steps. What did you do when you were adding
   that button into the header-right? Did you work on one .php file or a few? Comment
   out all the new changes and see if what happens. If you can see the site, then
   work from there.
 * Last resort – use an older version of your theme that was working – before your
   attempt to add the button – and reinstall it.
 * Good luck to you!
 *  Thread Starter [kyvelic](https://wordpress.org/support/users/kyvelic/)
 * (@kyvelic)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-please-help-27/#post-5343556)
 * I think that I messed the function.php file….unfortunately
 * As you said the PHP God is angry at me :/
 * I will reinstall everything and see what happens….
 * Thanks all for your help!

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

The topic ‘fatal error’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 3 participants
 * Last reply from: [kyvelic](https://wordpress.org/support/users/kyvelic/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-please-help-27/#post-5343556)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
