WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error message when trying to log in after upgrading WP (5 posts)

  1. mross55
    Member
    Posted 1 year ago #

    I updated the site to wp3.4.2.
    Here's the error message I'm getting when trying to log in to the admin panel. There's no login screen.

    Fatal error: Call to undefined function locate_template() in /home/sitename/public_html/wp-includes/general-template.php on line 128

    Any ideas how to fix?

  2. RichardWPG
    Member
    Posted 1 year ago #

    Try change to your basic twwenty eleven themes and see if the problem still persist or not.

  3. mross55
    Member
    Posted 1 year ago #

    i can't log in to do that. I'm not using a basic them.

  4. Please disable or delete all plugins and switch to the default theme (TwentyEleven since 3.3). After making these changes does the problem still occur? If no, re-enable everything one by one to see which component causes the problem.

    To disable the active theme rename the themes folder using ftp then browse to your-domain.tld/wp-admin/themes.php

    This will force the default theme to activate.

  5. mross55
    Member
    Posted 1 year ago #

    how can i disable the plugins if I can't log in?

Topic Closed

This topic has been closed to new replies.

About this Topic