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

  1. cjgarland
    Posted 3 years 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
    Posted 3 years ago #

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

  3. budykiller
    Posted 3 years 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
    Posted 3 years 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.


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

  6. cjgarland
    Posted 3 years 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
    Forum Moderator
    Posted 3 years 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
    Posted 3 years 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