Fatal error: Call to undefined function wp_fix_server_vars()

http://trinitytranslation.com/wp-admin/network/ - should display the WP Network login screen, but is showing this error;

Fatal error: Call to undefined function wp_fix_server_vars() in /home/trinityt/public_html/wp-load.php on line 44

Recently updates a few plugins in our network and installed the MailChimp plugin, which was working when I last checked.

All sites in our network are offline, showing the same error. Urgent help and advice needed!!

  • aristath
    • Recruit

    Hello there @Sean Grant, I hope you're well today!

    The wp_fix_server_vars() is a core WordPress function found in the wp-includes/wp-load.php file.
    If your server can't find that file then most probably you have a corrupt WordPress installation. This probably happened during the upgrade to WP 4.0 if you tried to do that.
    To fix this issue, you can simply do the following:
    1. Download the latest WordPress version from here: http://wordpress.org/latest.zip
    2. Extract that file to your local machine
    3. Login to your site using FTP.
    4. Copy the extracted files from your machine to your server using FTP, and overwrite any existing files.

    Let me know if that works!

    Cheers,
    Ari.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.