• Resolved jidwictut9

    (@jidwictut9)


    Hello,

    I get the following error message.

    The time is correct when the cache is regenerated.

    [14-Dec-2023 18:07:21 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wp_cache_get() in ***/wp-includes/option.php:599
    Stack trace:
    #0 ***/wp-includes/option.php(164): wp_load_alloptions()
    #1 ***/wp-includes/l10n.php(63): get_option('WPLANG')
    #2 ***/wp-includes/l10n.php(156): get_locale()
    #3 ***/wp-includes/l10n.php(1300): determine_locale()
    #4 ***/wp-includes/l10n.php(1331): _load_textdomain_just_in_time('wp-optimize')
    #5 ***/wp-includes/l10n.php(185): get_translations_for_domain('wp-optimize')
    #6 ***/wp-includes/l10n.php(297): translate('User is logged ...', 'wp-optimize')
    #7 ***/wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php(37): __('User is logged ...', 'wp-optimize')
    #8 [internal function]: wpo_cache('<!DOCTYPE html>...', 9)
    #9 {main}
      thrown in ***/wp-includes/option.php on line 599
    

    With kind Regards

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter jidwictut9

    (@jidwictut9)

    Hello,

    as mentioned above, I do not have an object cache.

    These two posts do not help me at all.

    The first one is about W3TC which I do not use.

    In the second one there is no solution.

    Plugin Support vupdraft

    (@vupdraft)

    Apologies, the posts were for Optimizing matters.

    It could be 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)

    Thread Starter jidwictut9

    (@jidwictut9)

    Hello, I have already done this. But I also wrote that in this post.

    Plugin Support vupdraft

    (@vupdraft)

    Apologies, having gone back through the discussion you did say this.

    Some of this is recapping but bear with me, I am just assessing where you are/what we have done and how to proceed.

    1. Plugin Inspection:?Rename the?plugins?directory in your WordPress installation to something like plugins-old This will switch off all plugins and allow us to see if one of them is causing the issue. – You have done this and it did not return any useful results
    2. Theme Check: Your current theme might be playing a part here. Try switching to a basic WordPress theme like Twenty Twenty-Three to see if the problem persists.
    3. wp-config.php Review: Look in your wp-config.php file for the constant WP_CACHE. If it’s set to true, change it to false. Also, look out for any mentions of object-cache.php.
    4. Object Cache File:?WordPress relies on a file named?wp-content/object-cache.php?for object caching. If this file is in your installation, consider renaming or removing it. Be mindful though, this file is generally created by object caching plugins, so if it’s there it could hint that such a plugin hasn’t been fully removed. – I think you checked for this but could you check again?
    5. Re-upload WordPress Core Files:?There’s a chance that the WordPress core files have been corrupted somehow. A solution could be to re-upload all files (excluding the?wp-content?directory) from a fresh WordPress download. This will make sure that the core WordPress files are reset to their original state. – You have done this, it did not help
    6. File Permissions:?Confirm that your server’s file permissions are set right. Wrong file permissions can sometimes lead to unexpected behaviour
    7. Get in Touch with Your Host: If nothing else works, it could be your hosting environment. Reach out to your hosting provider’s support and get them to delve into the issue.
    Thread Starter jidwictut9

    (@jidwictut9)

    Hello,
    to the individual points:

    1.tested and no change.

    2. I also use Astra with WPO on another site without any problems.
    3.+4. object-cache or object-cache.php not available

    5.tested and no change.

    6.file permissions are correct and have not been changed

    7.can’t help me with this.


    The error also occurred without Autoptimize. I am currently using Perfmatters.
    Today the error was again in the debug.log after I activated the CSS minimization yesterday. The last days the optimization was deactivated in WPO and I had no error messages.

    Plugin Support vupdraft

    (@vupdraft)

    Have you got the CSS Minification off still, has the issue presented again.

    Can you export your settings in the Settings tab? and post them using a tool such as wetransfer or pastebin.com

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