WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Fatal Error - Screen locked - Help Please (9 posts)

  1. cjgarland
    Member
    Posted 1 year ago #

    When changing the theme on a website I got the following message.

    Fatal error: Call to undefined function wp_get_theme() in /home/wwwninja/public_html/wp-content/themes/evolve/library/functions/options.php on line 11

    Now I can’t do anything its there all the time a blank screen with the message.

    Would appreciate some advice

  2. Mohd Rafie
    Member
    Posted 1 year ago #

    From the FTP, download the file you're editing before the error and re-upload it.

  3. budykiller
    Member
    Posted 1 year ago #

    Do what mohdrafie tells you.
    Also, before re-uploading it, check that the file has been save with "ANSI" encoding.

    Same thing for the options.php mentioned. Download it, open it, and save it back again as "ANSI" file encoding.

    Sometimes, zoulou encoding like UTF-8 for frenchy brokes PHP code.

  4. cjgarland
    Member
    Posted 1 year ago #

    Thanks Mohd Rafie & budykiller however I after I log in to word press it takes me straight to the fatal error screen.

  5. Just log into your FTP (NOT wordpress) and delete the folder of the theme you tried switching TO.

    "wp-content/themes/BAD_THEME_NAME"

    Then, you should be able to log back into WP.

  6. cjgarland
    Member
    Posted 1 year ago #

    Hi Josh

    I'm new to all this - don't even know what FTP is leave alone how to log in.

    Its embarrassing I know.

  7. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Try asking your hosts for assistance with this.

  8. Yup... esmi knows what's up ;)

    They will be able to help you. You might also inquire about your CPanel... and how to access it.

    Your CPanel is basically a place, where among other features, you can "browse" your file directories of your website. Just be careful in there ;)

  9. cjgarland
    Member
    Posted 1 year ago #

    My hosting company has now sorted the problem

    Thanks everyone for your help.

Topic Closed

This topic has been closed to new replies.

About this Topic