• Resolved emellina

    (@emellina)


    Hi there,

    We get the following warning when the front page loads:

    ===
    Warning: mkdir(): File exists in /nfs/c02/h07/mnt/28011/domains/orchango.com/html/wp-content/plugins/comet-cache/src/includes/traits/Plugin/InstallUtils.php on line 356
    ===

    The above message shows up before the page loads.
    Any clue? Should we manually delete the above-mentioned file?

    Thx.

    https://ww.wp.xz.cn/plugins/comet-cache/

Viewing 5 replies - 1 through 5 (of 5 total)
  • @emellina We have a patch coming in the next release that should resolve this (see this GitHub issue). However, if that’s your production website I recommend logging PHP errors to a log file instead of displaying them on the front-end of the website (you can check with your web hosting company for instructions on changing that).

    Thread Starter emellina

    (@emellina)

    Ok, thanks Raam. We’ll be following up with our web hosting company… Looking forward to the patch too. Keep up the good work! Your pluggin has been very useful to us.

    The latest version of Comet Cache (v160917, released today) includes changes related to this GitHub issue. Please see the full changelog:

    Bug Fix: In some scenarios Comet Cache might produce a false-positive “Warning: mkdir(): File exists” message when checking if the cache directory exists. Comet Cache now calls clearstatcache() and uses file_exists() instead of is_dir() to help make this check more robust. See Issue #786.

    Thread Starter emellina

    (@emellina)

    Thanks Raam Dev!

    Thread Starter emellina

    (@emellina)

    Hey Raam Dev,

    I noticed today that the “file exists” warning message still appears (to see it, you have to be on a rather slow internet connection; or a fast connection but accessing the website while Windows is still busy loading – which has the same effect as a slow connection).

    I thought the fix was addressing the issue?

    Edmond.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Warning message when loading front page’ is closed to new replies.