• Hi all, I’m hoping someone can help me. I was trying to update a friends website, I changed the theme to the ‘hero’ theme and now I just get the message :
    Fatal error: Call to undefined function wp_get_theme() in /homepages/2/d343995399/htdocs/wsb6047285301/wp-content/themes/hero/options.php on line 12

    After looking about, the only solution I could find is by logging into the FTP and changing it via that. Only problem is, that I don’t have access to the FTP or domain. I can only access the site via the wordpress admin screen. Really hoping someone can help me with this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    – First off, to rule out any theme-specific issue, try switching to the unedited default theme for a moment using the WP dashboard. If you don’t have access to your admin area, you can switch to the default theme by renaming your current theme’s folder in wp-content/themes and adding “-old” to the end of the folder name using via FTP or SFTP or whatever file management application your host provides.

    the function wp_get_theme() was introduced in wp3.4.0 – so make sure to update your WordPress version first if you are still on an older wp version.

    I don’t have access to the FTP or domain. I can only access the site via the wordpress admin screen.

    it is vital that you have FTP access, to remedy the situation you are in right now.
    get those access data from whoever is the admin of the site.

    If you have access to phpmyadmin, then you can set different theme (like twentyeleve theme).
    Access database, click wp-options, you will find template and stylesheet rows in seconds page. Change it to any theme that is present in your installation.

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

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