Title: Warning: mkdir() Error
Last modified: August 11, 2017

---

# Warning: mkdir() Error

 *  Resolved [TableauxAdmin](https://wordpress.org/support/users/tableauxadmin/)
 * (@tableauxadmin)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-mkdir-error/)
 * I’m getting this error in below my footer on all pages:
 * Warning: mkdir(): Read-only file system in /xxx.com/html/wp-content/plugins/fast-
   velocity-minify/fvm.php on line 1689
 * Can you help?

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

 *  Plugin Author [Raul P.](https://wordpress.org/support/users/alignak/)
 * (@alignak)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-mkdir-error/#post-9402927)
 * The error is telling you that the webserver doesn’t have permission to write 
   or create new files / directories, which are needed for storing the cache files.
 * You either need to chmod the wp-content/uploads directory or ask your hosting
   provider to do it for you.
 *  [SuzuKube](https://wordpress.org/support/users/suzukube/)
 * (@suzukube)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-mkdir-error/#post-9403024)
 * I have the same problem, but it worked before the last update.
 * The problem is on the last line :
 *     ```
       # critical path file
       $currenturl = fvm_get_protocol($_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]);
       $file = sanitize_title($currenturl);
       $save = get_stylesheet_directory().'/criticalcss/css/'.$file.'.css';
       $generate_gulp_path = rtrim(trim($generate_gulp_path), '/');
       if(!is_dir($generate_gulp_path.'/out')) { mkdir($generate_gulp_path.'/out'); }
       ```
   
 * I’m trying to see if it’s a permission problem ^^’ !
 *  Plugin Author [Raul P.](https://wordpress.org/support/users/alignak/)
 * (@alignak)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-mkdir-error/#post-9403040)
 * There was a bug with 2.1.8, please update to 2.1.9 and it should be gone.
    -  This reply was modified 8 years, 8 months ago by [Raul P.](https://wordpress.org/support/users/alignak/).
 *  [SuzuKube](https://wordpress.org/support/users/suzukube/)
 * (@suzukube)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-mkdir-error/#post-9403055)
 * I checked my permission and it’s ok for the upload directory. It seems to create
   files somewhere else, I don’t really know where (in the wp-content theme directory?).
 *  Plugin Author [Raul P.](https://wordpress.org/support/users/alignak/)
 * (@alignak)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-mkdir-error/#post-9403058)
 * No, that is a hidden development version and it would try to create it based 
   on a database value.
 * This will eventually be released, but for now it’s fixed, just update.
 *  [SuzuKube](https://wordpress.org/support/users/suzukube/)
 * (@suzukube)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-mkdir-error/#post-9403061)
 * Oh yeah ! I didn’t see your answer… I’m trying again, clean my log and I will
   tell you ^^ !
 *  [SuzuKube](https://wordpress.org/support/users/suzukube/)
 * (@suzukube)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-mkdir-error/#post-9403070)
 * It’s perfect with 2.1.9, no error message anymore 🙂 You can pin the topic if
   you want ^^ ! Thank you and see u later 😉 ! Have a nice day 😀 !
 *  Thread Starter [TableauxAdmin](https://wordpress.org/support/users/tableauxadmin/)
 * (@tableauxadmin)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/warning-mkdir-error/#post-9408505)
 * Yeah, error is gone after update. Thank you.

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

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

 * ![](https://ps.w.org/fast-velocity-minify/assets/icon-128x128.jpg?rev=1440946)
 * [Fast Velocity Minify](https://wordpress.org/plugins/fast-velocity-minify/)
 * [Support Threads](https://wordpress.org/support/plugin/fast-velocity-minify/)
 * [Active Topics](https://wordpress.org/support/plugin/fast-velocity-minify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fast-velocity-minify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fast-velocity-minify/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [TableauxAdmin](https://wordpress.org/support/users/tableauxadmin/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/warning-mkdir-error/#post-9408505)
 * Status: resolved