• 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)
  • 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

    (@itdirector)

    ” 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

    (@itdirector)

    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.

    Thats host specific. Find out if your host has a file manager and use it

    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.