Problem with media uploader
-
Hi, I have a problem with media uploader. Sometimes, randomly, when I’m uploading some images, WP shows me this error:
Error 4444.jpg An error occurred in the upload. Please try again later.
screen: https://drive.google.com/file/d/0B_sux_yloxN9SEdraVV4Z1pSRTA/view?usp=drivesdk
I have such a response in browser console:
{"success":true,"data":{"id":3875,"title":"4444","filename":"44448.jpg","url":"http:*******/wp-content\/uploads\/sites\/27\/2016\/06\/09\/44448.jpg","link":"http:\/\/********\/? /-----------------------------------------------------/ <\/th>\n\t\t<td class='field'>\n\t\t<div class='mla-taxonomy-field'>\n\t\t<input name='mla_attachments[3875][attachment_tag]' class='text' id='mla-attachments-3875-attachment_tag' type='hidden' value=''>\n\t\t<div id='mla-taxonomy-attachment_tag' class='tagsdiv'>\n<- Click to toggle\n\t\t<\/div>\n\t\t<\/div>\n\t\t<\/td>\n\t\t<\/tr>\n<\/table>","meta":""},"filesize":"166 kB"}} <!DOCTYPE html> <!-- Ticket #11289, IE bug fix: always pad the error page with enough characters such that it is greater than 512 bytes, even after gzip compression abcdefghijklmnopqrstuvwxyz1234567890aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz11223344556677889900abacbcbdcdcededfefegfgfhghgihihjijikjkjlklkmlmlnmnmononpopoqpqprqrqsrsrtstsubcbcdcdedefefgfabcadefbghicjkldmnoepqrfstugvwxhyz1i234j567k890laabmbccnddeoeffpgghqhiirjjksklltmmnunoovppqwqrrxsstytuuzvvw0wxx1yyz2z113223434455666777889890091abc2def3ghi4jkl5mno6pqr7stu8vwx9yz11aab2bcc3dd4ee5ff6gg7hh8ii9j0jk1kl2lmm3nnoo4p5pq6qrr7ss8tt9uuvv0wwx1x2yyzz13aba4cbcb5dcdc6dedfef8egf9gfh0ghg1ihi2hji3jik4jkj5lkl6kml7mln8mnm9ono --> <html xmlns="http://www.w3.org/1999/xhtml" lang="ua-UA"> <head><script type="text/javascript"> document.onkeydown = function(e) { if /--------------------------------------------------------/ <body id="error-page"> <p></p></body> </html>
screen: https://drive.google.com/file/d/0B_sux_yloxN9dTkyOXVvMl9tMTA/view?usp=drivesdk
I’m sure that the problem with wp_die() function, that returning response like that was not an ajax query but a direct one.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Problem with media uploader’ is closed to new replies.