This error occurs During the installation process, a new plugin or theme creates a directory ( with the plugin or theme name) in the wp-content folder or you may encounter this error due to high memory usage and no disk space. Check out the following process to fix this error: 1. Create Backup 2. Disk Usage Optimization 3. Resetting File and Folder Permission 4. Setting File Permission via FTP Client 5. Monitor Application Logs I have gone through these steps using this guide: https://www.cloudways.com/blog/wordpress-installation-failed-could-not-create-directory/ Hope it will work for you.
... View more