Title: PHP Warning: mkdir():
Last modified: March 9, 2022

---

# PHP Warning: mkdir():

 *  Resolved [francoc30](https://wordpress.org/support/users/francoc30/)
 * (@francoc30)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php-warning-mkdir/)
 * Hi,
    I installed WP-Optimize on my development site. I enabled Page Cache and
   ran Preload. I have a whole bunch of php error messages like the one below. I
   don’t know what causes it. Please advise. Thanks.
 * 20220308T175239: mysite.com/dev1/index.php
    PHP Warning: mkdir(): File exists
   in /mypath/public_html/test/dev1/wp-content/plugins/wp-optimize/cache/file-based-
   page-cache-functions.php on line 119

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

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php-warning-mkdir/#post-15444163)
 * [@francoc30](https://wordpress.org/support/users/francoc30/) Where do you see
   these errors, is it in error_log file or do you see it WordPress admin?
 *  Thread Starter [francoc30](https://wordpress.org/support/users/francoc30/)
 * (@francoc30)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php-warning-mkdir/#post-15446802)
 * These error messages are from the error log.
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php-warning-mkdir/#post-15448402)
 * [@francoc30](https://wordpress.org/support/users/francoc30/) These are warnings
   that won’t stop the functionality of the plugin, the plugin should still work
   as expected.
 * However, I’ll share the warnings with our development team, so that it can be
   fixed it in future release.
 *  Thread Starter [francoc30](https://wordpress.org/support/users/francoc30/)
 * (@francoc30)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php-warning-mkdir/#post-15450261)
 * ok thanks.

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

The topic ‘PHP Warning: mkdir():’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [francoc30](https://wordpress.org/support/users/francoc30/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/php-warning-mkdir/#post-15450261)
 * Status: resolved