I solved it by adding
<?php header ("Connection: close"); ?>
in file.php situated under wp-admin/include
Related Posts:
- Uploading media with the REST API
- Decrease file size upload in Media
- Adding a custom image upload size and making it selected by default?
- How to upload imagick resource to media in wordpress
- Upload images and attachments from frontend form
- WordPress media upload “HTTP error”
- What is the alternative to “ when it comes to calling Media (image) files in the ‘attachment.php’ file?
- How do I get around “Sorry, this file type is not permitted for security reasons”?
- WordPress automatically adds links to uploaded images
- Get featured image with custom size outside WordPress
- Custom upload folder
- Convert all uploaded PNG files to PNG-8 format
- How to decrease the max file upload size without using php.ini or htaccess?
- Hook on file upload
- wp_delete_attachment not working with multiple values
- Can’t upload files
- Edit Image/Image Details – Replace button missing
- How to automatically convert images to WebP on WordPress?
- How to make a image-size selected by default in Media upload – WP v3.5
- How to change upload directory in wp_handle_upload
- Hide old attachments from wp media library
- Image Upload “exceeds the maximum upload size for this site”, but php.ini is correct
- How to register images uploaded via FTP in media library?
- Using file_exists to check file in Uploads
- PHP/Manual use of images? – 2 Questions
- Rename image uploads replacing “width” and “height” in filename with “medium”, “large”, “small”
- Rename image uploads with width in filename
- Modify image while uploading
- Debugging upload problem: What part of WP does actual image-resizing?
- Add custom image sizes to media uploader
- Accessing a random image via ajax
- Make WordPress upload directory outside wordpress root with custom url
- Is it unsafe to put php in the /wp-content/uploads directory?
- Adding featured image via PHP
- How to enlarge the media file upload size in wordpress admin
- How do I get images (with a thumbnail preview) to show in search results?
- File upload, uploads only file name
- Modify Maximum upload file size text
- Adding a querystring to an image URL when clicking ‘insert into post’?
- Upload a json file in php [closed]
- Custom image upload
- wp_handle_upload – The uploaded file could not be moved to wp-content/uploads/2012/09
- is it possible to force wordpress to always save thumbnails as ‘jpg’ not ‘png’
- Memory errors with media upload, WordPress can’t use more than 96M (while there’s 512 available!)
- Get most recent media upload
- Convert all images to PNG on file upload
- Upload Image in a WordPress page using PHP
- WordPress (3.9.1) MultiSite Permissions. Is chown the answer?
- Using file_get_contents with Gravity Forms uploads folder to create images in the media library returning false
- how to retrieve uploaded url of zip files
- Why is $_REQUEST an empty array in admin-ajax.php?
- How do you use WP slugs for PDF files / media?
- PDF file randomly breaks upon upload
- Need help with Google drive API [closed]
- Upload file could not be moved to wp-content/uploads
- Attach previously uploaded image to post – current code has unexpected results
- Change WordPress Upload Folder using wp handle upload
- How do I Import / Upload Files with jQuery AJAX?
- WordPress function when file is uploaded, deleted or edited
- Can I get an email notification when media is uploaded to the media library?
- Returning data instead of echoing/printing
- WordPress import media error
- Upload multiple files in randomly generated folder using wp_upload_bits
- Can’t upload CSV file to plugin directory using custom upload form in admin panel
- WordPress upload file size error even after raising php limits
- Images Uploaded saving onto older/previous year folders
- How do I increase the upload size only when editing special pages?
- Get URL of Featured Image After wp_insert_post()
- WordPress İmages Upload & Delete Error
- Allow user to Upload image and manipulate it on the frontend
- How to Make Thumbnail of Post Stay Animated
- Hide media for non logged in users
- Some problems in custom widget
- Checking page before applying image restrictions while uploading
- Change image data durgin upload
- Problem with inserting multiple images in gallery of each WooCommerce product programmatically
- I can’t set image ad fatured programatically
- async upload not working when not logged
- Trying to generate a CSS file in wordpress uploads folder
- Maximum file Upload
- Change upload URL by mime type
- Right path for renaming a file in uploads folder
- I want url from a file in media using title file
- WordPress file upload
- Crop an image after upload on custom account page
- Restrict File Type Uploads by User on Wordress via functions.php
- Renaming “Expand Details” within “Add Media”
- Get posts associated with media attachment
- Save the outputted image into the Media Library, with a different filename and extension
- 403 (Forbidden) delete file image in themer folder
- Name Input from widget displays Sidebar name instead of saved data
- show/hide attachments
- Correct Syntax for uploading files to custom directory in WordPress
- Upload multiple files via ajax from an HTML file input
- get_post_meta returns on side but it doesn’t return on bottom of admin page
- stop resize button for wordpress media
- “Unexpected response from server” error when trying to upload any .mp4 file over 100MB
- Get a list of folders inside uploads directory
- How can we upload custom page files?
- Unable to upload media to WordPress