• Resolved Henk Barreveld

    (@henk-barreveld)


    Hello,

    I just checked a website’s PHP error log (as a double-check for some software changes I made on that website, a few days ago – not in any way related to WP-Optimize) and then I found a series of PHP Warning messages, like:

    unlink(.../public_html/wp-content/cache/wpo-cache/<path-to-cache-folder>/mobile.index.html.gz): No such file or directory in /.../wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 885

    From the url in the warning and the messages in the activity log it is clear that this happened at the time that a WP-Optimize scheduled cache preload took place and the error is from an unlink() call inside the function wpo_delete_files. It looks like the checking that precedes the unlink action in wpo_delete_files is failing in some cases.

    I checked some of these files .../public_html/wp-content/cache/wpo-cache/<path-to-cache-folder>/mobile.index.html.gz, inevitably only after the cache preload, and they now do exist, as they should.

    Even though this produces only a warning message, I can imagine you will want to look into this.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘php warnings on scheduled cache preload’ is closed to new replies.