126.96.36.199.4. HTTP Error
When uploading files to WordPress, you may receive an HTTP Error. There can be many reasons for this error. To determine them, it is worth conducting an initial diagnosis and trying to fix the problem using the following methods:
- Check uploading different files of different sizes.
The situation with the problem of uploading one file due to its specific name or limitations of WordPress itself is quite common. For example, the reason may be the presence of special characters in the name of the image file.
- Disable site plugins.
Some WordPress plugins can affect the appearance of errors in the most CMS or to upload files.
- Check error log server.
Some errors can be displayed in the server logs. For example, the following entry may be present in the error log:
Internal error on sending request(POST /example.php HTTP/2.0); uri(/example.php) content-length(XXXXXXX): SendRequest: prepare(): open("/home/example/.system/tmp/XXXXX-XXXXXX-XXXXXXXXX", O_RDWR|O_CREAT|O_EXCL, 0600) failed, errno 13, referer https://example.com/example.php
This error is caused by incorrectly set access rights to the temporary directory. To rectify the situation, in this case, it is enough reset rights to all files and directories.
- Tryit change PHP version.
After installing any plugins, making changes or updating WordPress, it may be necessary to change the PHP version. (With changes CMS new scripts could be added, the support of which is implemented only in new versions of PHP, or vice versa, deprecated functions were added that have been removed from new versions of PHP).
- Check your installed WordPress theme. Try to temporarily install another one and check the problem with it.
- If the problem began to manifest itself after certain actions on the site, then you can try restore backup a copy of the site and database files. (It is recommended to restore a copy of the site and database on the same date).