WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Fatal Error – Screen locked – Help Please

[Resolved] Fatal Error – Screen locked – Help Please

  • 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

Viewing 8 replies - 1 through 8 (of 8 total)
  • From the FTP, download the file you’re editing before the error and re-upload it.

    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.

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

    Josh

    @josh401

    Moderator and Editor Customizer

    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.

    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.

    esmi

    @esmi

    Forum Moderator

    Try asking your hosts for assistance with this.

    Josh

    @josh401

    Moderator and Editor Customizer

    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 πŸ˜‰

    cjgarland

    @cjgarland

    My hosting company has now sorted the problem

    Thanks everyone for your help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Fatal Error – Screen locked – Help Please’ is closed to new replies.
Skip to toolbar