Here we explain a common way to resolve WordPress throwing an "http error" when uploading images through the Media Library. This resolution is related to potential Imagick thread limit issues. This process requires access to cPanel to complete. We will use File Manager in cPanel to edit the site's .htaccess file.
Resolve HTTP Error when Uploading to Media Library
- Log into cPanel
- Navigate to File Manager, in the Files section
- Locate the Document Root for the domain
- Locate and edit the .htaccess file and add the following to the top
SetEnv MAGICK_THREAD_LIMIT 1
- Save changes
- Retry uploading the image
NOTE: If the HTTP error persists it can also be related to plugin/theme conflicts on the site or php.ini limits. Reach out to Technical Support if further help is needed.