• Hello.

    I just upgrade from v2.5.1 -> 2.7 without problems. The database upgraded fine, and to prove this, if I enter my URL to /upgrade.php directly, I see the message “No Upgrade Required Your WordPress database is already up-to-date!”

    My homepage renders correctly; that is, the blog is working, and all my posts are present and are in-tact. Now, the problem I have is that I cannot access the /wp-admin/ menu. When I attempt to access /wp-admin/ I see the error message Fatal error: Call to undefined function wp_reset_vars() in /public_html/wp-admin/admin.php on line 39. However, I can access /wp-login.php directly … but when I attempt to login through the wp-login.php file, I see the same error message.

    I have uploaded and re-uploaded the contents of /wp-admin and /wp-includes using ASCII mode (FLASHFXP) twice, and still the problem remains.

    I deleted all of my plugins, and the problem remains.

    error_log doesn’t show anything (which is strange b/c I’m getting the above error message) … I’m on a dedicated server.

    My .htaccess is fine

    <IfModule mod_rewrite.c>
    AddDefaultCharset UTF-8
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Any recommendations? I don’t see how my theme would effect admin.php.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I was having the same problem after transferring to a different server.

    The ‘wp_reset_vars’ function is defined in ‘wp-admin/includes/misc.php’

    In my particular situation this file was not transferred correctly and after correcting that by transferring it again everything went back to normal.

    I am having the exact same problem as Niteblade. I tried thomascim’s advice but it did not resolve the issue. Does anyone have an update on this issue?

    Thanks,
    Candis

    unreal4u

    (@unreal4u)

    Try deactivating APC; I had the exact same error, once i de-activated APC (in php.ini :

    extension=apc.so
    apc.enabled=0

    )

    it worked smoothly 🙂

    Greetings 😉

    UPDATE:

    Credits

    In your APC conf:

    Update 2 (SOLUTION): This seems promising. In php.ini in the [apc] section I set apc.filters = wp-cache-config which should exclude wp-cache-config.php and wp-cache-config-sample.php from being cached by APC.

    hello! I have the same problem with Call to undefined function wp_reset_vars ()
    you managed to resolve?
    I can not open the administrative panel, there is some way for this?

    What worked for me on OS X Snow Leopard with PHP 5.3 and APC enabled was (in php.ini):
    [apc]
    apc.include_once_override=0

    HTH

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Call to undefined function wp_reset_vars() in /public_htm’ is closed to new replies.