Title: Warning message when loading front page
Last modified: September 1, 2016

---

# Warning message when loading front page

 *  Resolved [emellina](https://wordpress.org/support/users/emellina/)
 * (@emellina)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/warning-message-when-loading-front-page/)
 * 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://wordpress.org/plugins/comet-cache/](https://wordpress.org/plugins/comet-cache/)

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

 *  [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/warning-message-when-loading-front-page/#post-7710080)
 * [@emellina](https://wordpress.org/support/users/emellina/) We have a patch coming
   in the next release that should resolve this (see [this GitHub issue](https://github.com/websharks/comet-cache/issues/786)).
   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](https://wordpress.org/support/users/emellina/)
 * (@emellina)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/warning-message-when-loading-front-page/#post-7710136)
 * 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.
 *  [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/warning-message-when-loading-front-page/#post-8192459)
 * The latest version of Comet Cache (v160917, released today) includes changes 
   related to this GitHub issue. Please see the full [changelog](https://wordpress.org/plugins/comet-cache/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](https://github.com/websharks/comet-cache/issues/786).
 *  Thread Starter [emellina](https://wordpress.org/support/users/emellina/)
 * (@emellina)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/warning-message-when-loading-front-page/#post-8197961)
 * Thanks Raam Dev!
 *  Thread Starter [emellina](https://wordpress.org/support/users/emellina/)
 * (@emellina)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/warning-message-when-loading-front-page/#post-8236618)
 * 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.

 * ![](https://ps.w.org/comet-cache/assets/icon-256x256.png?rev=1348602)
 * [Comet Cache](https://wordpress.org/plugins/comet-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/comet-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/comet-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/comet-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/comet-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/comet-cache/reviews/)

## Tags

 * [warning message](https://wordpress.org/support/topic-tag/warning-message/)

 * 5 replies
 * 2 participants
 * Last reply from: [emellina](https://wordpress.org/support/users/emellina/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/warning-message-when-loading-front-page/#post-8236618)
 * Status: resolved