WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Fatal error: Call to undefined function wp_get_theme()

[Resolved] Fatal error: Call to undefined function wp_get_theme()

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author David Wells
    Member

    @davidwells

    Update WordPress to the latest version and this should be fixed.

    Can you confirm?

    aniskhan001
    Member

    @aniskhan001

    @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
    Member

    @davidwells

    You are on wordpress 3.6?

    aniskhan001
    Member

    @aniskhan001

    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
    Member

    @davidwells

    Yeah you need 3.5+ to run landing pages I believe

    ourbiz7980@aol.com
    Member

    @ourbiz7980aolcom

    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
    Member

    @davidwells

    To fix this immediately follow these steps: 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

    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 ‘[Resolved] Fatal error: Call to undefined function wp_get_theme()’ is closed to new replies.