WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error shown when accessing my site or dashboard (19 posts)

  1. georgiahj22
    Member
    Posted 1 year ago #

    I just made my first blog last week, it's self hosted: http://www.theworldisabook.co.uk

    Things were going fine and I set my theme as Pilcrow, then I was in the middle of installing a new theme yesterday (called Origin if I remember correctly), when I got this error message:

    Fatal error: Call to undefined function wp_get_theme() in /home/thewo456/public_html/wp-content/themes/origin/library/functions/utility.php on line 119

    This now comes up whenever I try to access the dashboard or actual site... On my iPad I can still see the home page of my dashboard but as soon as I try to go any further (e.g. onto plugins, or updating my version of wordpress) I get a very similar error message:

    Fatal error: Call to undefined function wp_get_theme() in /home/thewo456/public_html/wp-content/themes/origin/library/admin/theme-settings.php on line 35

    I have no idea what to do as I literally can't access anything so any suggestions would be much appreciated!

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    First - delete the theme. YOu will need to use FTP ior a file manager if your host offers one.

    Navigate to wp-content->themes and delete the theme you were trying to install, this will set you back to 2011 theme, and allow you to login

    Next, update wordpress, version 3.3.2 is old

    the problem here is that your new theme calls to wp_get_theme which was introduced in WP v3.4, so your new theme is not compatible with your old WP

  3. esmi
    Forum Moderator
    Posted 1 year ago #

    I think that you are trying to use themes that will only work on the latest version of WordPress. Try:
    - switching to the Twenty Eleven theme by renaming your current theme's folder inside wp-content/themes and adding "-old" to the end of the folder name using FTP or whatever file management application your host provides.

    - resetting the plugins folder by FTP or phpMyAdmin.

    - re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress.

    - running the upgrade manually via wp-admin/upgrade.php

  4. georgiahj22
    Member
    Posted 1 year ago #

    Thanks so much for great/fast advice.

    However, how do I go about doing any of those things when I can't even get onto my dashboard to change any themes or folders etc? - Sorry I really don't know very much about the technical aspects!

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    Please re-read my post above. None of the suggestions I made require you to login to your WordPress dashboard.

  6. georgiahj22
    Member
    Posted 1 year ago #

    Okay thanks.

    I have done all the things you suggested via my file manager (themes/plugins) and have regained access to dashboard - therefore managed to upgrade to the 3.4.2 version of wordpress. But the actual webpage is still blank when I try to visit my site, and when I tried to install my old theme it says:

    Downloading install package from http://wordpress.org/extend/themes/download/pilcrow.1.3.zip…
    
    Unpacking the package…
    
    Installing the theme…
    
    Could not create directory. /home/thewo456/public_html/wp-content/themes/pilcrow/
    
    Theme install failed.

    ... Any further suggestions would be great!

  7. esmi
    Forum Moderator
    Posted 1 year ago #

    Try re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress.

  8. georgiahj22
    Member
    Posted 1 year ago #

    So should I delete WP from my host server and re-download it then?

  9. esmi
    Forum Moderator
    Posted 1 year ago #

    Delete everything except the wp-content folder, your wp-config.php file and any root .htaccess file. Then upload the new copies of the deleted files/folders.

  10. georgiahj22
    Member
    Posted 1 year ago #

    But how do I upload the new copies of deleted files etc? Like where do I get those from? Sorry to be stupid!

  11. esmi
    Forum Moderator
    Posted 1 year ago #

  12. georgiahj22
    Member
    Posted 1 year ago #

    That's great thanks. I managed to do all the uploads etc which appeared to have worked, but it is still playing up in that the site now won't acknowledge any new pages or categories and just says 'nothing found' on the homepage rather than my new posts...!?

  13. esmi
    Forum Moderator
    Posted 1 year ago #

    Do you have any error messages? Are any posts accessible in the back end of the site?

  14. georgiahj22
    Member
    Posted 1 year ago #

    No all the pages/categories/posts etc are saved in my dashboard and can be edited fine, they just aren't showing up on my actual site - sometimes even the home page doesn't have an icon...

  15. esmi
    Forum Moderator
    Posted 1 year ago #

    Do you have access to your site's error logs? Your hosts should be able to help with this access.

  16. georgiahj22
    Member
    Posted 1 year ago #

    I do but no error messages are displayed :s

  17. esmi
    Forum Moderator
    Posted 1 year ago #

    Its a long shot but you could turn debug on and enable error logging to see if that helps. Also, check with your hosts as to how much PHP memory you have available.

  18. georgiahj22
    Member
    Posted 1 year ago #

    I haven't been using my blog since I posted on here today, but it now says

    404 Page Not Found
    
    Sorry! The page you requested is unavailable.

    when I try to access my admin page :(

  19. esmi
    Forum Moderator
    Posted 1 year ago #

    I think you need to contact your hosts...

Topic Closed

This topic has been closed to new replies.

About this Topic