• Looking for help on https://sonjahegman.com. Blog was acting odd – timeout messages when trying to log in – Got in and updated to 3.9.1 from the dashboard. Immediately got a fatal error:
    Fatal error: Call to undefined function wp_cache_get() in /home/content/67/12132667/html/wp-includes/functions.php on line 1202

    Fatal error: Call to undefined function wp_cache_close() in /home/content/67/12132667/html/wp-includes/load.php on line 581

    Tried removing all the plugins and tried uploading a fresh Functions file from a new WP install. No luck.

    The line 1202 error says: if ( wp_cache_get( ‘is_blog_installed’ ) )

    The line 581 error says: wp_cache_close();

    This blog is running Studiopress Associate theme with almost no modifications.

    I’d appreciate any thoughts.
    Thanks,
    Barb

Viewing 11 replies - 1 through 11 (of 11 total)
  • A plugin is doing it. Looks like a plugin that helps your site load faster for return users, using cache.

    You need to use FTP or your site’s file manager to delete the plugin.

    If you’re not sure which one is doing it, before deleting any, copy the whole plugins folder onto your desktop, then upload them all back in, one at a time, checking for the error every time you upload one.

    Plugins folder is in the wp-content folder.

    Thread Starter bdrozdowich

    (@bdrozdowich)

    That was my first step – to remove all the plugins, but I never got to the o]point of loading them back in one at a time as the error messages didn’t go away with the removal of the plugins. Any other thoughts?

    Barb

    My bad. The error message doesn’t have “plugins” in the string, the problem files are sitting in the wp-includes folder, not the wp-content folder:
    wp-includes/functions.php
    and
    wp-includes/load.php

    So… it’s a bad install, I think. Re-install WordPress and see if that corrects the problem.

    Dashboard > Updates > Re-install Now

    I forget. You can’t even log in.
    OK.
    Download the latest WP 3.9.1 on to your desktop and unzip/uncompress it.
    Use FTP to delete the load.php and functions.php from the
    wp-includes folder, then upload those 2 new files from on your desktop.

    I have the same problem, and I uploaded the 2 files but still I got this error messages:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/weinandy/public_html/wp-content/uploads/2014/06) is not within the allowed path(s): (/home/www/web313/html/:/home/www/web313/phptmp/:/home/www/web313/files/:/home/www/web313/atd/:/usr/local/php5-fcgi/lib/php/:/usr/local/php5/pear/) in /home/www/web313/html/wp-includes/functions.php on line 1420

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/weinandy/public_html/wp-content/uploads/2014) is not within the allowed path(s): (/home/www/web313/html/:/home/www/web313/phptmp/:/home/www/web313/files/:/home/www/web313/atd/:/usr/local/php5-fcgi/lib/php/:/usr/local/php5/pear/) in /home/www/web313/html/wp-includes/functions.php on line 1425

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/weinandy/public_html/wp-content/uploads) is not within the allowed path(s): (/home/www/web313/html/:/home/www/web313/phptmp/:/home/www/web313/files/:/home/www/web313/atd/:/usr/local/php5-fcgi/lib/php/:/usr/local/php5/pear/) in /home/www/web313/html/wp-includes/functions.php on line 1425

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/weinandy/public_html/wp-content) is not within the allowed path(s): (/home/www/web313/html/:/home/www/web313/phptmp/:/home/www/web313/files/:/home/www/web313/atd/:/usr/local/php5-fcgi/lib/php/:/usr/local/php5/pear/) in /home/www/web313/html/wp-includes/functions.php on line 1425

    3.9.3 is the newest update as I write this, not 3.9.1
    Shouldn’t matter, though, just use the newest, then once you can log in, update the whole install to the newest version.

    Thread Starter bdrozdowich

    (@bdrozdowich)

    Hi Defosses Nate,
    I did put fresh copies of the function file and the load file and still nothing. Any other thoughts?

    I see you fixed it. I was going to suggest renaming the theme you are using, so WP can’t find it and defaults to the generic theme, see if that would fix it.
    Or just re-install WP completely:
    First save the wp-config.php file that is in the root folder of your site, upload the new WP (overwriting the old install) then upload the old wp-config.php file back after (overwriting the new wp-config.php file).
    Is that what you did? If not, what? Let me know, thanks.

    yes, I did rename the themes and finally could get into WP dashboard.

    I was thinking about reinstalling, but won’t I lost all the posts? But as it worked with renaming the themes, I was relieved not to have to reinstall WP.

    Thanks ??

    Great! That must be what Sonja did, also. I just searched some keywords about wordpress crash here in the documentation and found out that some themes can mess up WP after an update.

    Re-install won’t delete posts as long as you overwrite and not delete stuff. Best to search on here in the documentation and follow the instructions if you do that.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Blog crashes after 3.9.3 update’ is closed to new replies.