Title: Javascript error, folders not displaying
Last modified: September 25, 2018

---

# Javascript error, folders not displaying

 *  Resolved [aate](https://wordpress.org/support/users/aate/)
 * (@aate)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-folders-not-displaying/)
 * Hi!
 * After a series of updates to following I get the following javascript error in
   Media Library Folders view. Folders do not appear, it just keeps on loading. 
   Media files are displayed normally I think.
 * Javascript error : TypeError: c[o].parent is null
 * Screenshot: [https://ibb.co/h89az9](https://ibb.co/h89az9)
 * I recently changed wp database prefix due to security reasons (it was still default),
   started using SSL and run all updates to WordPress and its plugins. With the 
   prefix change I did also change the prefixes in database and the site works otherwise
   normally. However it is possible that this error came up with those changes.
 * Tried updating PHP from 5.4 to 5.6 since there was a notice but it didn’t help.
 * Thank you in advance.

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

 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-folders-not-displaying/#post-10721269)
 * Upgrading PHP from 5.4 to 5.6 will help in other areas. Do look at the Support
   page of the plugin and you find a number of troubleshooting tips include what
   to do when the folder tree does not load, which is to do a database reset of 
   the folder tree data. This is explained in the troubleshooting tips.
 *  Thread Starter [aate](https://wordpress.org/support/users/aate/)
 * (@aate)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-folders-not-displaying/#post-10721470)
 * Thanks for the reply! I will look for those troubleshooting tips.
 * But doesn’t “database reset of the folder tree data” mean that all created folders
   will be deleted or lost? This is not what I want to happen.
 * Thank you!
 *  Thread Starter [aate](https://wordpress.org/support/users/aate/)
 * (@aate)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-folders-not-displaying/#post-10721506)
 * Ok, it worked. And folders are still there. Thank you!
 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-folders-not-displaying/#post-10721511)
 * No, it is necessary to remove the old folder data in the folder table and rescan
   the media library and check the server for any additional folders. The only function
   of this table is to keep track of folders and their files. Usually this issue
   happens when a parent folder is missing from the database making it impossible
   for the tree to add the parent’s child folders.
    -  This reply was modified 7 years, 8 months ago by [AlanP57](https://wordpress.org/support/users/alanp57/).

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

The topic ‘Javascript error, folders not displaying’ is closed to new replies.

 * ![](https://ps.w.org/media-library-plus/assets/icon-128x128.jpg?rev=1814048)
 * [Media Library Folders](https://wordpress.org/plugins/media-library-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-plus/reviews/)

## Tags

 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)
 * [media library folders](https://wordpress.org/support/topic-tag/media-library-folders/)

 * 4 replies
 * 2 participants
 * Last reply from: [AlanP57](https://wordpress.org/support/users/alanp57/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-folders-not-displaying/#post-10721511)
 * Status: resolved