• Resolved josmatic

    (@josmatic)


    Hi, I manage over 30 WordPress sites and some of them have your plugin, which is realy easy to use and do the job.

    Last few years I experienced issues that site completely broke. Usually server restart helped but I found out that problem is with cache. On this particulare site we have:
    1. Autoptmize
    2. WP-Optimize – Clean, Compress, Cache
    Of course they setup on such way to do every his job and not overlapping.

    Problem at debug.log:
    [19-Sep-2022 08:10:46 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wp_cache_get() in /home/domain_hidden/public_html/wp-includes/option.php:147

    WP 6.0.2

    I am not server expert but some combination of cache settings and server settings cause issue. Do you have any experience on this fields?!

    Best regards,
    Josip

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    No, afraid I’ve never seen that happen Josip.

    Taking into account both wp-includes/option.php (which has the code that calls wp_cache_get) and wp-includes/cache.php (which has wp_cache_get defined) are part of WordPress core, this to me seems unlikely to be related to Autoptimize as AO does not act on or alters the way options are cached nor does it alter the way the different WordPress files are loaded.

    WordPress core calling it’s own wp_get_cache _should_ just work and I can’t think of a scenario where it would not work except if the WordPress installation got broken somehow?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    any news @josmatic ?

    Thread Starter josmatic

    (@josmatic)

    Hi,

    I am busy last few months, ton of work to do.
    Me and my colleagues solved this somehow, I don’t remember how.

    Thank you

    formulaclick

    (@formulaclick)

    Any idea how to solve this? We have same error thrown but with another caching plugin (Litespeed cache)…

    thanks

    Thread Starter josmatic

    (@josmatic)

    I would start debug.log on WordPress and watch for Server logs. Also check all requirements by themes and plugins. Make sure that you have server space for cache, bringa autocleaner if you do not have etc.

    azurseisme

    (@azurseisme)

    I have the same error with Fastest cache, no access to the admin and the site is broken

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