I am hosting my website on digitalocean. I have recently linked (symbolic link) the upload folder to the dedicated mounted disk volume for media files only. After that I can’t see any folder on my interface.
I have tried to reset the data as suggested on quick fix guide also but it didn’t solved the issue.
Does symbolic link affects the function of this plugin?
ln -s /wp-content/uploads /mnt/some_volume
The default media library of WordPress is not affected by this however.
We can check what folder and file data has been collected. In the Reset plugin, there are two reports, Display Folder Data and Display Attachment URLs. Check both of these to see that both contain information about your folders and files. Then test viewing one of the media files’ URLs to verify that it is correct and accessible.
It does not take long for the folders to load, and you do not have a lot of them. But note above the folder tree in your screenshot, the location of the current folder is missing. This text is displayed before querying the database and displaying the files in a folder. Thus, the plugin is not finding the current folder ID, usually the ID of the uploads folder when the page is opened, and that is why no folders are showing up. The ID of the uploads folder should have been reset and saved when you ran the reset procedure. So I do not know why it is not functioning.
There are other things you can do though not directly related to the folder data, such as increasing the max_execution_time setting to at least 300 seconds in the site’s .htaccess and increasing the amount of memory for the backend, by adding this line to your wp-config file:
define('WP_MAX_MEMORY_LIMIT', '512M');
This setting is different from the ‘WP_MEMORY_LIMIT’ setting that set the amount of memory for the frontend.
When I load the Media Library Folder page, I have noticed this on developer console
It says
Scripts that have a dependency on [wc-date] must be loaded in the footer, dokan-pro-frontend-shipping was registered to load in the header, but has been switched to load in the footer instead. See https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5059
Does it have something to do with this plugin? I am not sure.
When I attempted to make a new folder, It shows me this message
directory traversal attempt detected.
I am suspecting, it has something to do with my firewall. I am trying to check the network request on developer console to understand what type of query or request is sent by MLF but network section shows nothing.
If I have idea, I can check and allow MLF specific queries from firewall.