• Resolved makobaby01

    (@makobaby01)


    I have suffered this fatal error in my error.log, I wanted to understand why and how to resolve

    PHP Fatal error:  Uncaught Error: Call to undefined function wp_cache_get() in my website/wp-includes/option.php:97
    Stack trace:
    #0 my website/wp-includes/l10n.php(69): get_option('WPLANG')
    #1 my website/wp-includes/l10n.php(137): get_locale()
    #2 my website/wp-includes/l10n.php(1277): determine_locale()
    #3 my website/wp-includes/l10n.php(1239): _get_path_to_translation_from_lang_dir('wp-optimize')
    #4 my website/wp-includes/l10n.php(1209): _get_path_to_translation('wp-optimize')
    #5 my website/wp-includes/l10n.php(1307): _load_textdomain_just_in_time('wp-optimize')
    #6 my website/wp-includes/l10n.php(177): get_translations_for_domain('wp-optimize')
    #7 my website/wp-includes/l10n.php(289): translate('User is logged ...', 'wp-optimize')
    #8 my website/wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php(33): __('User is logged ...', 'wp-optimize')
    #9 [inte in my website/wp-includes/option.php on line 97
Viewing 6 replies - 1 through 6 (of 6 total)
  • @makobaby01

    Sorry to hear about your issues, Do you have any other cache plugin installed? If yes, Can you please try to disable other plugin and check if it helps to fix the issue?

    Thanks,
    Harshad

    Thread Starter makobaby01

    (@makobaby01)

    Hello, I don’t have it, I only use your plugin together with updraft (sorry if I wrote it wrong).

    @makobaby01 Sorry for the delay!

    Can you please try to de-activate the plugin and activate it again and check if it helps to fix the issue?

    Thanks,
    Harshad

    Hi @makobaby01

    According to my research, this error can only happen if your website uses a custom object cache file. Do you have a plugin that adds Object cache, or is there a file called object-cache.php in your website’s wp-content folder?

    Marc

    Thread Starter makobaby01

    (@makobaby01)

    @bornforphp
    I have already deactivated and activated a few times for other debugging, and when active returns these errors to me, but I don’t know when or what I do to occur.

    @marcusig
    About object-cache.php, there is none of that in the wp-content folder

    Looks like an incomplete/broken update. You will need to download the WP archive for your version: https://www.ads-software.com/download/releases/

    Upload and overwrite folders
    /wp-admin/
    /wp-includes/
    and .php files in the site root (make sure to keep wp-config.php, it is not included in archive)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal PHP error’ is closed to new replies.