Title: Errors after adding files
Last modified: November 5, 2023

---

# Errors after adding files

 *  [bhasic](https://wordpress.org/support/users/bhasic/)
 * (@bhasic)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/errors-after-adding-files/)
 * One folder where I have most image-files, I get error window.
 * >     ```wp-block-code
   >     <script> -var mlp_busy = false; var folders = [{"id","parent":"#","text":"uploads"."state":("opened":true,"disabled":false,"selected":false),"a_attr":{"href":"#903","target":"_self}}... and so on.
   >     ```
   > 
 * Console shows multiple: admin-ajax.php:1 Failed to load resource: the server 
   responded with a status of 500 ()
 * That folder like the other folders worked fine, before I added 60 more files 
   to the one that’s showing errors.

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

 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/errors-after-adding-files/#post-17177802)
 * To find out what is causing the error code 500, you can turn on WordPress debugging
   by editing your site’s wp-config.php file and replacing the line:
 * `define('WP_DEBUG', false);`
 * with
 * `define('WP_DEBUG', true);
   define('WP_DEBUG_LOG', true);define('WP_DEBUG_DISPLAY',
   false);@ini_set('display_errors', 0);
 * With debugging on, WordPress with create a debug.log file in your wp-content 
   directory. Now recreate the error and then check the debug.log file. You can 
   send the debug.log file to support at maxfoundry.com so I can review it.
 *  Thread Starter [bhasic](https://wordpress.org/support/users/bhasic/)
 * (@bhasic)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/errors-after-adding-files/#post-17183942)
 * My hosting doesn’t log errors. The problem is caused by mp4-files. Also when 
   I add media, I get 8 warnings like this for every file:
 * > Warning: file_exists(): open_basedir restriction in effect. File(/home/vol1_7/
   > infinityfree*.com/if0_350/htdocs/wp-content/uploads/2023/11/1db85c9d-fd04-4d0d-
   > aff1-763dbb9ee81a_screenshot-300×225.webp) is not within the allowed path(s):(/
   > php_sessions:/tmp:..:/var/www/errors:/usr/share/pear:/home/vol1_7/infinityfree.
   > com/if0_350/htdocs) in /home/vol1_7/infinityfree.com/if0_35088568/htdocs/wp-
   > content/plugins/media-library-plus/media-library-plus.php on line 6439
 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/errors-after-adding-files/#post-17184150)
 * It looks like you have the block direct access feature turned on. I’ll look into
   this and see about releasing a new version in a few days. If the MP4 files you
   uploaded are causing an error when viewing the contents of a folder in Media 
   Library Folders, then open the standard WordPress media library and delete the
   MP4 files.
    -  This reply was modified 2 years, 7 months ago by [AlanP57](https://wordpress.org/support/users/alanp57/).
 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/errors-after-adding-files/#post-17191852)
 * We have released version 8.1.6 that addresses this issue.

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

The topic ‘Errors after adding files’ 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

 * [errors](https://wordpress.org/support/topic-tag/errors/)

 * 4 replies
 * 2 participants
 * Last reply from: [AlanP57](https://wordpress.org/support/users/alanp57/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/errors-after-adding-files/#post-17191852)
 * Status: not resolved