WordPress.org

Forums

[resolved] Fatal Error on line 129 (9 posts)

  1. jsbarry
    Member
    Posted 4 years ago #

    This topic has been started but it says it is resolved. My issue is a bit different.

    I was attempting to upgrade to WP3.0 when I received this message:

    Fatal error: Call to undefined function set_current_screen()in /var/www/healthcaresavvy.com/htdocs/wp-admin/admin.php on line 129

    Since this message appeared I am unable to access the dashboard any longer. The above message appears when I attempt to log in so I can't disable the maintenance mode for my blog.

    Help please .......... Thank you.

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Try:
    - switching to the default theme by renaming your current theme's folder using FTP (or use whatever file management application your host provides)

    - resetting the plugins folder by FTP or phpMyAdmin.

    - re-running the upgrade manually.

  3. Jonnylee
    Member
    Posted 4 years ago #

    Hi. I have the same problem as jsbarry.

    Can someone explain a fix in simple terms please.

    The error is: httpdocs/wp-admin/admin.php on line 129

    Can't access the Admin area. The site is still there but what is the solution without being overly techy please?

    Any help MUCH APPRECIATED. :0)

  4. Jonnylee
    Member
    Posted 4 years ago #

    Hi Guys

    I shall answer my own question here and hope that it helps someone.

    I did the WordPress Automatic Upgrade to 3.0 (and had successfully done it 3 times before). This time I got:

    Fatal error: Call to undefined function set_current_screen()in /var/www/mydomain.com/htdocs/wp-admin/admin.php on line 129

    Basically the install got stuck at the admin.php file in the wp-admin folder.

    Luckily the website was still intact but the WP Admin error was gone.

    I followed the instructions from 'esmi' (above) and opted for the 'Upgrade Manually'.

    I backed up the site as it was and the MySQL Database (using PHP MyAdmin) - which you really should do before updating your WordPress. Which I didn't!!!

    Basically, I then download WordPress 3.0 and removed the wp-content folder (because you don't want to overwrite your Plug-ins or Themes etc). I then logged on to the server using an FTP programme called Fetch (as I use Mac) and:

    1. Deleted the folders: wp-admin and wp-includes
    2. I uploaded all the WordPress 3.0 files - EXCEPT for wp-content (leave that as it is as it contains important files for your site).
    3. Once uploaded I went back to: http://www.mydomain.com/wp-admin. It asked me to Upgrade my Database - which I did. Said it was successful and PHEW.

    All was back to normal.

    A huge lesson learnt about not backing up the site and database and checking with the host first that it's safe to upgrade.

    I was lucky in his case and I hope the above helps at least someone in the future.

    Thanks.

  5. arian antonucci
    Member
    Posted 4 years ago #

    I am having the same issues, but I get this message.

    Fatal error: Call to a member function add_rewrite_tag() on a non-object in /home/vertprod/public_html/wp-includes/taxonomy.php on line 289

    Does anybody know what this means?

    thanks

  6. Jonnylee
    Member
    Posted 4 years ago #

    Hi Arian

    I found this: http://wordpress.org/support/topic/411951?replies=3

    Hope it helps. Good luck.

  7. arian antonucci
    Member
    Posted 4 years ago #

    Not sure if it helps, but thanks. I see other people are having the same issue. I just don't know how to fix it. I can't even login to the wp-admin page.

  8. Jonnylee
    Member
    Posted 4 years ago #

    That's what happened to me. I could still see the site though and everything was intact - blog posts, pages etc. It was all still there but I couldn't access the admin panel. Is your site still showing as normal?

    I'm no expert at all but I had 2 options... Try the manual install or start from scratch.

    (UNLESS... does your host have a back-up of your site that they can revert you back to?)

    So, I downloaded ALL the files in the root folder (httpdocs or public_html - whatever yours maybe called) using an FTP programme, and then backed up my database. The database again maybe something you need to ask your host to do if you don't have Control Panel Access to your server.

    I then downloaded WP3, deleted the existing wp-admin and wp-includes folders from my server, but leaving wp-content as it was, and did the manual install.

    So long as I had a back-up before I did it - although it wasn't great. I knew I could put it back as it was. It's a scary process I know. :0/

  9. casadelaila
    Member
    Posted 4 years ago #

    Thank you so much - it worked like a charm! Thank you thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.