If you are getting http error in WordPress while uploading files to Media Library , It means some sort of interruption is happening in between WordPress file handling operations and web server interface . Before doing a workaround always wait for a few moments and refresh the page once and retry the same process to make sure that it is not a temporary glich from your hosting panel . If you still face the same error again , please try the following solutions . Before doing these steps always make sure that you have a complete healthy backup of your site.
In most of the cases plugins may be the culprit which is causing the intervention between WordPress and Webserver . In that case try to deactivate the plugins one by one and check whether it resolve the issue . If you are using plugins for Image optimization , WordPress Security you can start the process by deactivating them first .
If file size exceeds the maximum upload size defined in wp-config.php sometimes it may result in http error . You can increase it by adding the following lines of code by editing wp-config.php located in the site’s root directoryÂ
You can find .htaccess in your website’s root folder , in most of the cases , within a folder named “public_html” . You can add the following code to resolve the http issues arising from .htaccess
Sometimes incompatible features , functional conflicts in between themes and plugins may be the main cause of http error . You can check it by switching the theme to default theme (eg: Twenty Seventeen) . If it resolve the issue the next step is you can contact the theme author or hire an expert wordpress developer  to debug wordpress theme – plugin related issues
Having incorrect file permissions of upload folder can end up in http error. You can find this folder in /wp-content/uploads
folder, as this is where files are stored when uploaded via the media library.According to the WordPress Codex, all directories should be 755 (drwxr-xr-x) or 750.You can set this file permission through your hosting panel file manager interface or FTP client
If any of the above methods won’t resolve the issue . Kindly free to contact us and our WordPress Experts will help you to sort out the issue.
Sharing is caring!