Support » Fixing WordPress » "Fatal error," can't access site

  • Resolved cdnorton

    (@cdnorton)


    I have the “Basic” theme, which told me to update “Frameworks.” When I did, I received this error:

    Fatal error: Call to undefined function get_data() in /home/cdnorton/offendineveryway.com/wp-content/themes/basic/theme-functions.php on line 561

    I have tried restoring my db from backup via phpMyAdmin, but no dice. I can’t access my site at all. Any help would be much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hopefully you backed up your database before reverting it to an older version. That may impact the usefulness of these suggestions, but we’ll see.

    You have possibly two options. If you are familiar with phpMyAdmin, you can go into the options table and blank out the option (don’t drop it) that stores which database you are using.

    Or rename the folder that houses Basic in your file system.

    If I am not mistaken, WordPress will fall back on the TwentyTwelve theme and the offending code will not be run.

    Thread Starter cdnorton

    (@cdnorton)

    Thanks for your reply.

    Being a bit of a noob, I didn’t back up my database first but luckily I had a very recent backup and so only lost a few comments. Waaaay better than it could have been…

    Renaming the Basic folder did the trick, and I’m back in business. Thanks again for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘"Fatal error," can't access site’ is closed to new replies.