What causes the “Add media isn’t working” error on WordPress? How to fix this media error?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our W3Make Forum to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Hello,
HOPE THIS MAY HELP YOU IN CASE!
File Permissions: Incorrect file permissions on your WordPress installation can prevent the media upload functionality from working properly. To fix this, you can use an FTP client or file manager in your hosting control panel to ensure that the wp-content/uploads directory and its subdirectories have the correct permissions.
Plugin or Theme Conflict: Sometimes, a conflict between a plugin or theme and the WordPress media uploader can lead to the error. To troubleshoot this, try deactivating all plugins and switching to a default theme temporarily. Then, attempt to upload media again. If the error disappears, reactivate plugins and switch back to your original theme one by one until you find the conflicting plugin or theme. Consider updating or replacing the problematic element.
Security Plugins or Firewall: If you have a security plugin or firewall configured on your WordPress site, it might be blocking the media upload process. Review the settings of your security plugin or firewall and ensure that it allows file uploads. Whitelist the necessary file extensions (.jpg, .png, etc.) and check if the issue persists.
Insufficient Server Resources: Limited server resources, such as low disk space or insufficient memory, can hinder media uploading. Verify your server’s available disk space and ensure that it is not full. If your hosting plan allows, consider upgrading to a higher resource allocation to prevent such limitations.
Corrupted Files or Database: In rare cases, corrupted WordPress files or a malfunctioning database can cause the media error. To address this, you can try re-uploading a fresh copy of the WordPress core files. Additionally, backing up your WordPress database and then repairing it using tools like phpMyAdmin might help resolve any underlying issues.