Title: filemtime(): stat failed PHP warning
Last modified: February 2, 2022

---

# filemtime(): stat failed PHP warning

 *  [titsmaker](https://wordpress.org/support/users/titsmaker/)
 * (@titsmaker)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/filemtime-stat-failed-php-warning/)
 * Hi, after installing plugin I have a lot of following in my error log:
 * `PHP Warning: filemtime(): stat failed for /wp-content/uploads/caos/analytics.
   js in /wp-content/plugins/host-analyticsjs-local/includes/admin/class-settings.
   php on line 251`

Viewing 1 replies (of 1 total)

 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/filemtime-stat-failed-php-warning/#post-15326298)
 * That’s weird. It’s not even supposed to look for these files (since analytics.
   js is renamed to a random string.)
 * I’ll look into this and get back to you!

Viewing 1 replies (of 1 total)

The topic ‘filemtime(): stat failed PHP warning’ is closed to new replies.

 * ![](https://ps.w.org/host-analyticsjs-local/assets/icon-256x256.png?rev=3307068)
 * [CAOS | Host Google Analytics Locally](https://wordpress.org/plugins/host-analyticsjs-local/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/host-analyticsjs-local/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/host-analyticsjs-local/)
 * [Active Topics](https://wordpress.org/support/plugin/host-analyticsjs-local/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/host-analyticsjs-local/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/host-analyticsjs-local/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/filemtime-stat-failed-php-warning/#post-15326298)
 * Status: not resolved