Title: Problem with empty folders
Last modified: August 21, 2016

---

# Problem with empty folders

 *  Resolved [soegaard2000](https://wordpress.org/support/users/soegaard2000/)
 * (@soegaard2000)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/problem-with-empty-folders/)
 * Hi,
 * I get an error when I point to an empty folder with sub=”xxxx”.
 * I get a warning that says:
 * Warning: asort() expects parameter 1 to be array, null given in /xxx/xx/x/xxxxx/
   wp-content/plugins/file-away/includes/file-away.php on line 226
 * Warning: Invalid argument supplied for foreach() in /xxx/xx/x/xxxxx/wp-content/
   plugins/file-away/includes/file-away.php on line 227
 * If I upload a file such as a PDF everything works again.
 * Thanks for a great plug-in 🙂
 * [https://wordpress.org/plugins/file-away/](https://wordpress.org/plugins/file-away/)

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

 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/problem-with-empty-folders/#post-4744967)
 * Working on it. There’s of course a difference between an Error and a Warning,
   but I’ll clean this up.
 *  Thread Starter [soegaard2000](https://wordpress.org/support/users/soegaard2000/)
 * (@soegaard2000)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/problem-with-empty-folders/#post-4744972)
 * Thank you for very quick help 🙂
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/problem-with-empty-folders/#post-4745007)
 * K, I cleaned that up and a few other small things. I didn’t create a whole new
   release, but I reuploaded the relevant file. If you download the plugin manually
   and overwrite the current install, you should be good to go with this issue. 
   Let me know.
 *  Thread Starter [soegaard2000](https://wordpress.org/support/users/soegaard2000/)
 * (@soegaard2000)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/problem-with-empty-folders/#post-4745033)
 * It works perfectly 🙂
    Great plug-in.
 * Thank you very much.
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/problem-with-empty-folders/#post-4745034)
 * No problem at all. 🙂

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

The topic ‘Problem with empty folders’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/file-away_e3e2e1.svg)
 * [File Away](https://wordpress.org/plugins/file-away/)
 * [Support Threads](https://wordpress.org/support/plugin/file-away/)
 * [Active Topics](https://wordpress.org/support/plugin/file-away/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/file-away/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/file-away/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [thomstark](https://wordpress.org/support/users/thomstark/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/problem-with-empty-folders/#post-4745034)
 * Status: resolved