WordPress.org

Forums

[resolved] [closed] After 3.3 Upgrade: Fatal Error Call to undefined function get_option() (5 posts)

  1. SRD75
    Member
    Posted 3 years ago #

    In wp-admin, I clicked to automatically upgrade from WP 3.2.1 to 3.3.

    After the upgrade was finished, /wp-admin/about.php?upgraded (or similar, can't remember exact URL) tried to load, but I received the error:

    Fatal error: Call to undefined function get_option() in /home/erotic/public_html/wp-admin/admin.php on line 32

    I renamed /wp-content/plugins to /wp-content/plugins.bad without change.
    I renamed /wp-content/themes/currenttheme to /wp-content/themes/currenttheme.bad without change.

    I downloaded WP 3.3, unzipped, and uploaded /wp-admin over the top, without change.

    Same thing with uploading /wp-includes, still the same error.

  2. SRD75
    Member
    Posted 3 years ago #

    The automatic upgrade from 3.2.1 to 3.3 worked for me yesterday on a different domain.

    On this current problem domain, I moved /wp-content/themes/currenttheme.bad out of /wp-content/themes/, deleted the /twentyeleven theme, and uploaded the latest /twentyeleven theme, and this is now the only theme in /wp-content/themes, but the problem remains.

  3. SRD75
    Member
    Posted 3 years ago #

    I unzipped /wp-admin and /wp-includes again, renamed them both on the host, and uploaded them again.

    Same problem. Looks like a database corruption.

  4. SRD75
    Member
    Posted 3 years ago #

    Not a database problem.

    There were 6 files in the web root which had a file size of 0 bytes. These were:

    wp-app.php
    wp-comments-post.php
    wp-links-opml.php
    wp-mail.php
    wp-settings.php
    wp-trackback.php

    Uploading unzipped copies of these removed the error. /wp-admin then went on to request a database upgrade, which completed successfully.

  5. SRD75
    Member
    Posted 3 years ago #

    Same problem cause also mentioned in this thread.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags