• Resolved changyeon

    (@chang04wkuackr)


    nginx Cache contents were deleted in very short seconds(Cache Timeout = 86400), with in error.log "PHP Warning:  filemtime()"
    
    nginx Cache contents were deleted in very short seconds(I set Cache Timeout = 86400), with in error.log "PHP Warning:  filemtime()"
    
    webserver:nginx
    wordpress: 6.0
    error.log
    2022/06/25 01:29:51 [error] 839162#839162: *34994069 FastCGI sent in stderr: "PHP message: PHP Warning:  filemtime(): stat failed for /root/wp-content/cache/supercache/www/colleges/undergraduate.html/index-https.html in /root/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 162
    
    please help me.
    I used comet cache a couple of days ago, but same reason change the cache plugin WP Super Cache.
    but same error occurs.
    
    I tested wamp, wp super cache work perfectly...???
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter changyeon

    (@chang04wkuackr)

    I finally solved the problem yesterday.
    The cause of the problem was a plug-in (Yoast SEO) crash.
    I removed Yoast SEO plugin, and curiously, WP Super Cache works fine
    I also suspected cron schedules, but wp cron had nothing to do with the problem of cache files being deleted.

    … I got a hint from the post. Thank you very much … long0708 (@long0708)
    The post is
    https://www.ads-software.com/support/topic/cache-contents-were-deleted-in-some-seconds/

    ========???????==========
    Infinite thanks to all wordpress developers and wordpress contributors for their advice.
    I will always respect you.

    Plugin Contributor Mike Stott

    (@mikemayhem3030)

    Hi @chang04wkuackr

    Thank you for sharing what the solution was!

    I’ll mark this as resolved but do let me know if you hit any other issues or if running Yoast SEO with this still gives problems (it may have just been a particular version of Yoast that was causing this)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘nginx Cache contents were deleted in very short seconds(Cache Timeout = 86400)’ is closed to new replies.