• Resolved Anes101

    (@anes101)


    I just automatically upgrade from version 3.0.1 to version 3.1.
    After urgrade success and I will return to Dahboard even appear the message:
    Fatal error: Call to undefined function get_option () in / home/us54t31l/public_html/wp-admin/admin.php on line 32
    When I try to login to the Dashboard appears a message:
    Fatal error: Call to undefined function force_ssl_admin () in / home/us54t31l/public_html/wp-login.php on line 15
    Sites also can not be accessed, with the message:
    Fatal error: Call to undefined function wp () in / home/us54t31l/public_html/wp-blog-header.php on line 14

    I have check admin.php line 32 as follows:
    32 if ( get_option(‘db_upgraded’) ) {
    33 $wp_rewrite->flush_rules();
    34 update_option( ‘db_upgraded’, false );

    I still can access to FTP, but I do not know what to do.
    Perhaps something to do, my site using a dirty-blue theme.
    Thanks for any help and advice.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator t-p

    (@t-p)

    try:
    -deactivating ALL plugins temporarily to narrow down and possibly fix the problem. If the problem goes away, activate them individually (one-by-one) to find the culprit.

    If you don’t have access to your admin area, try deactivating them manually via FTP or phpMyAdmin.

    -switching to the default theme (“twentyten”) for a moment by renaming your current theme’s folder in wp-content/themes. The idea is to force WordPress to fall back to the default theme to rule out any theme-specific issue.

    If you don’t have access to your admin area, then access your server via FTP or SFTP or whatever file management application your host provides.

    -If the above steps do not resolve the issue, Download WordPress again and replace your copies of everything EXCEPT the wp-config.php file and the /wp-content/ directory with fresh copies. This should replace your core files without changing your content and settings in wp-config.php file and the /wp-content/ directory.

    Thread Starter Anes101

    (@anes101)

    Thanks for the response.
    After disabling plugins, switch to the twentyten theme still a problem, I replace the new copy of WordPress as instructed above manually. After following these steps and try to login to wp admin and access the site, the same error message appears: Fatal error: Call to undefined method WP_Rewrite:: add_rewrite_tag () in / home/us54t31l/public_html/wp-includes/taxonomy.php on line 331
    I do not know where the error occurred and what should I do now?

    Moderator t-p

    (@t-p)

    Call to undefined function could mean that your upgrade probably did not succeed. Do a manual update via FTP again:

    https://codex.www.ads-software.com/Updating_WordPress#Manual_Update

    Thread Starter Anes101

    (@anes101)

    Oh my God, I can spend my week for this one.
    Thank you t-p, I’ll do it until it works.

    Thread Starter Anes101

    (@anes101)

    Hi t-p, I’m happy to say that I have successfully upgraded manually.
    I noticed that the wp-include folder is the cause, even though previously I made sure everything looks like okay. With the override again it worked well.
    Thanks for the help that has provided guidance on this issue.
    Greeting.

    Moderator t-p

    (@t-p)

    You are welcome. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal Error after upgrading to 3.1’ is closed to new replies.