Title: Fatal error: Call to undefined function wp_get_theme()
Last modified: August 21, 2016

---

# Fatal error: Call to undefined function wp_get_theme()

 *  Resolved [Naomi Kokubo](https://wordpress.org/support/users/naomi-kokubo/)
 * (@naomi-kokubo)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_get_theme-1/)
 * I just installed the plug-in, which looks fantastic, but I get this error whenever
   I try to view my landing page.
 * Fatal error: Call to undefined function wp_get_theme() in /usr/www/users/fnickels/
   lavamind/wp-content/plugins/landing-pages/landing-pages.php on line 330
 * [http://wordpress.org/extend/plugins/landing-pages/](http://wordpress.org/extend/plugins/landing-pages/)

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

 *  Plugin Author [David Wells](https://wordpress.org/support/users/davidwells/)
 * (@davidwells)
 * [13 years ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_get_theme-1/#post-3650058)
 * Update WordPress to the latest version and this should be fixed.
 * Can you confirm?
 *  [aniskhan001](https://wordpress.org/support/users/aniskhan001/)
 * (@aniskhan001)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_get_theme-1/#post-3650066)
 * [@davidwells](https://wordpress.org/support/users/davidwells/), I ran into the
   same problem and tried updating the WordPress. But when I click update it tried
   to update but still showing the same error and the message to update WordPress.
 *  Plugin Author [David Wells](https://wordpress.org/support/users/davidwells/)
 * (@davidwells)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_get_theme-1/#post-3650067)
 * You are on wordpress 3.6?
 *  [aniskhan001](https://wordpress.org/support/users/aniskhan001/)
 * (@aniskhan001)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_get_theme-1/#post-3650068)
 * I was on 3.2.2
    Anyway, I just fixed the problem by deleting the theme folder
   via ftp that was installed last time.
 *  Plugin Author [David Wells](https://wordpress.org/support/users/davidwells/)
 * (@davidwells)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_get_theme-1/#post-3650069)
 * Yeah you need 3.5+ to run landing pages I believe
 *  [ourbiz7980@aol.com](https://wordpress.org/support/users/ourbiz7980aolcom/)
 * (@ourbiz7980aolcom)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_get_theme-1/#post-3650076)
 * I am getting this error message (pasted below) when i try to get into my website
   I tried adding a landing page and now i cannot even get into my dashboard to 
   remove the landing page… PLEASE HELP!
 * Warning: file_get_contents(/home3/ourbiz/public_html/wp-content/uploads/landingpage-
   templates/None/index.html) [function.file-get-contents]: failed to open stream:
   No such file or directory in /home3/ourbiz/public_html/wp-content/plugins/html-
   landing-page/lp.php on line 105
 * Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Empty string supplied
   as input in /home3/ourbiz/public_html/wp-content/plugins/html-landing-page/lp.
   php on line 106
 * Fatal error: Call to a member function saveXML() on a non-object in /home3/ourbiz/
   public_html/wp-content/plugins/html-landing-page/lp.php on line 143
 *  Plugin Author [David Wells](https://wordpress.org/support/users/davidwells/)
 * (@davidwells)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_get_theme-1/#post-3650077)
 * To fix this immediately follow these steps: [http://www.inboundnow.com/what-to-do-if-a-wordpress-plugin-breaks-your-site/](http://www.inboundnow.com/what-to-do-if-a-wordpress-plugin-breaks-your-site/)
 * These appear to be warning errors from another plugin however:
    /home3/ourbiz/
   public_html/wp-content/plugins/html-landing-page/lp.php is not our code.
 * Turn off your “html-landing-page” and you should be fine
 *  [choquete](https://wordpress.org/support/users/choquete/)
 * (@choquete)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_get_theme-1/#post-3650081)
 * Hi
 * I had the same error and i solved it:
 * 1.- Rename the theme using FTP: /home/wp-content/themes
 * 2.- Upgrade WordPress to 3.8 version
 * 3.- Activate the theme
 * For me runs perfectly. Thanks!

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/landing-pages_88766e.svg)
 * [WordPress Landing Pages](https://wordpress.org/plugins/landing-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/landing-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/landing-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/landing-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/landing-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/landing-pages/reviews/)

## Tags

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

 * 8 replies
 * 5 participants
 * Last reply from: [choquete](https://wordpress.org/support/users/choquete/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_get_theme-1/#post-3650081)
 * Status: resolved