Title: &quot;Fatal error: Call to undefined function add_theme_support
Last modified: August 19, 2016

---

# "Fatal error: Call to undefined function add_theme_support

 *  [ITDirector](https://wordpress.org/support/users/itdirector/)
 * (@itdirector)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-add_theme_support/)
 * I am the president of an organization whose IT Coordinator recently resigned 
   due to a hectic schedule. I am a pretty amateur programmer (Basic C++ and a little
   Java). I was trying to work the website set up by the organizations previous 
   IT Coordinator and I ran into an error.
 * Fatal error: Call to undefined function add_theme_support()in home/content/11/
   5214911/html/wp-content/themes/modularity-lite/functions.php on line 26
 * This error appears when I try to log in wp-admin as well as when I try to view
   the site. Someone please help me figure out this error.

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-add_theme_support/#post-1660523)
 * if you can log in
    dashboard – appearance switch to default theme and test if
   ok, try switching back
 * if you can’t log in – ftp to site or use host’s file manager and rename the `/
   modularity-lite` folder
    this will bring up default theme for you to log in and
   test
 * sounds like theme may need to be upgraded
 *  Thread Starter [ITDirector](https://wordpress.org/support/users/itdirector/)
 * (@itdirector)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-add_theme_support/#post-1660703)
 * ” ftp to site or use host’s file manager and rename the /modularity-lite folder”
 * I’m not at all sure how to do this….
 *  Thread Starter [ITDirector](https://wordpress.org/support/users/itdirector/)
 * (@itdirector)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-add_theme_support/#post-1660786)
 * Hi!
 * I just found out that I do not have access to the ftp server. How do I use host’s
   file manager to rename the folder?
 * Please respond. On an unnecessary deadline.
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-add_theme_support/#post-1660787)
 * Thats host specific. Find out if your host has a file manager and use it
 *  [mikebed96](https://wordpress.org/support/users/mikebed96/)
 * (@mikebed96)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-add_theme_support/#post-1660857)
 * I had the same error after upgrading my WordPress version. It is because the 
   theme isn’t compatible with that version of WP. Most likely, you won’t be able
   to log in.
 * > if you can’t log in – ftp to site or use host’s file manager and rename the/
   > modularity-lite folder
   >  this will bring up default theme for you to log in 
   > and test
 * Not everyone has this folder.
    The easiest way to fix this error is to FTP into
   your site. In your site’s public_html folder, go to `wp-content > themes` and
   delete the theme that you had activated. Now, when you go to your site, there
   will be nothing. However, you can log in from yoursite.com/wp-admin. Either install
   a new theme or activate the default theme. The theme that you just deleted will
   most likely not work again, however you can try reinstalling it because a new
   version may have been released to add support to the current version of WP.

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

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [mikebed96](https://wordpress.org/support/users/mikebed96/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-add_theme_support/#post-1660857)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
