Troubleshoot a media upload error in WordPress

Generic selectors
Exact matches only
Search in title
Search in content
Filter by Categories
Account Management Help
add photos, video and audio
Add-on features and social media
Advanced
Advanced campaign settings
All about analytics
All about images
Basic steps
Calendar
Configure the Web Application Firewall (WAF)
Connect my Calendar and Online Storage to Workspace
contact support
copy files to my site
Create my email address
Customize campaign
Discover domains
discover linux hosting with cPanel
Discover Microsoft 365
Discover Online Storage
Discover Workspace Email
edit content
Email Marketing demo
expand your site with sections and pages
Explore email add-ons
Explore my account
Find server and port settings (IMAP/POP)
fine tune my website
get social
Get started with SSL certificates
Get the most out of Microsoft 365
help my site get found and monitor my metrics
Hosting & Servers
keep my account secure
Keep my email secure
know your privacy rights
Legacy
Manage your SSL certificate
Managed WordPress
Manual email configuration
Migrate and export my emails
My email account isn’t working (troubleshooting)
nameservers and DNS
online store
organize
parking, forwarding and monetizing
privacy and protection
publish my site
Quick Shopping Cart
Renew my products and services
renewals
Security
Set up a campaign
Set up email on my devices
set up my payment methods
Set up my Workspace Email account
start with the basics
Stay productive anywhere with Office apps
Streamline email tasks to help my business
transfer between accounts
transfer between registrars
Troubleshoot email and email setup
Troubleshooting
troubleshooting
Uncategorized
Upgrade and renewal options for email
Web & Classic Hosting
Website backups
Website Builder 7
Website Builder version 6
Website Security and Backups
Websites
work with databases
work with delegates
working with blogs

The WordPress Dashboard can give several errors when trying to upload media files, and there are multiple possible causes of these errors. You may need to try a few fixes before you can upload images and media again.

  1. Confirm your file does not exceed the maximum upload limit for your shared hosting plan.
    1. If so, you will need to reduce the size of the file before uploading it again.
    2. If not, but the file size exceeds the default PHP limit, then you can increase it.
  2. If the issue persists, then increase your php memory limit to 256M.

If your php settings are not the issue, then the next step is to confirm WordPress is trying to upload media to the proper folder and that folder has the correct permissions.

  1. Log in to WordPress.
  2. On the left navigation bar, click Settings.
  3. Under Settings, click Media.
  4. Confirm the path in the “Store uploads in this folder” area is correct for your WordPress site. For example:/AbsoluteHostingPath/SubFolder/wp-content/uploads
    • AbsoluteHostingPath is the absolute path for your hosting account. (cPanel / Plesk)
    • SubFolder is only necessary if you have installed WordPress to a sub folder.
  5. Confirm the /SubFolder/wp-content/uploads folders all have “Write” permissions. (cPanel / PleskNote: On cPanel Hosting only the User group should have Write permissions.

If you are still unable to upload media through the WordPress Dashboard, the next step is to determine if one of your plugins is causing the problem.

  1. Log in to WordPress.
  2. Deactivate all of your plugins.
  3. Trying uploading your media file again.
  4. If you can successfully upload a file, then activate your plugins one at a time until you find the one causing the issue.

More Info: