WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Landing Pages
[resolved] Fatal error: Call to undefined function wp_get_theme() (9 posts)

  1. Naomi Kokubo
    Member
    Posted 1 year ago #

    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/

  2. David Wells
    Member
    Plugin Author

    Posted 1 year ago #

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

    Can you confirm?

  3. aniskhan001
    Member
    Posted 10 months ago #

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

  4. David Wells
    Member
    Plugin Author

    Posted 10 months ago #

    You are on wordpress 3.6?

  5. aniskhan001
    Member
    Posted 10 months ago #

    I was on 3.2.2
    Anyway, I just fixed the problem by deleting the theme folder via ftp that was installed last time.

  6. David Wells
    Member
    Plugin Author

    Posted 10 months ago #

    Yeah you need 3.5+ to run landing pages I believe

  7. ourbiz7980@aol.com
    Member
    Posted 9 months ago #

    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

  8. David Wells
    Member
    Plugin Author

    Posted 9 months ago #

    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

  9. choquete
    Member
    Posted 7 months ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags