Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a problem to upload images to the media library when is used multi-file uploader on WP 3.5.2. Single file media uploader works fine.

I have tested it with 1k PNG image, which was stuck on "crunching" anyway. Debug log for that part came with those messages:

[23-Jul-2013 13:41:28] PHP Notice:  has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/animals/public_html/mysite.com/wp-includes/functions.php on line 2925
[23-Jul-2013 13:41:28] PHP Notice:  has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/animals/public_html/mysite.com/wp-includes/functions.php on line 2925
[23-Jul-2013 13:41:28] PHP Notice:  get_theme_data is <strong>deprecated</strong> since version 3.4! Use wp_get_theme() instead. in /home/animals/public_html/mysite.com/wp-includes/functions.php on line 2841

Also when I try to use Image Uploader from Featured Image it comes with that error message:

An error occurred in the upload. Please try again later.

Looks like it is WP related issue rather than hosting/permissions. WP_MEMORY_LIMIT is set to 128M, PHP mem limit is same and PHP upload limit is 5M.

As further testing it looks like is related to the Media Library. If I will reset DB and leave all as is it works. When I will re-upload DB with almost 12,000 image it crashes.

Thanks

share|improve this question
1  
Do you have debugging information? Try with two very, very small images-- something like 1k. I suspect a files size or other upload limit. –  s_ha_dum Jul 22 '13 at 23:06
    
OP updated with debug info –  JackTheKnife Jul 23 '13 at 13:43
    
Those Notices should not be fatal, though the uploader is sensitive. Disable your plugins and switch themes. I doubt the Core is causing those errors. –  s_ha_dum Jul 23 '13 at 14:49
    
I have just tested clean WP install and it works. Looks like some plugin or theme option is messing with it. –  JackTheKnife Jul 23 '13 at 20:42
    
Try to find out which plugin or theme is causing the issue and maybe we can make some progress. –  s_ha_dum Jul 23 '13 at 20:44
show 2 more comments

2 Answers

Try updating file permissions of your WP-content and uploads folder, in most cases this should fix media upload related problems.

share|improve this answer
4  
Oye @Tiubles & welcome to WPSE! I second your notion, that upload related problems are often permission related, but if the "Single file media uploader works fine", can that still be the cause of the issue? I doubt it, to be honest. If you hadn't registered 11 minutes, but 11 months ago, I wouldn't have commented, but downvoted - rethink this answer. Does it make sense? –  Johannes Pille Jul 22 '13 at 22:54
    
Permissions are correct. Even tested with 0777. –  JackTheKnife Jul 23 '13 at 15:23
add comment

Ok so i'm on wordpress 3.8.1 and i was having this issue and i tried EVERY FIX from every post i could find on this problem of the image upload staying stuck on "crunching" or having it say "image data does not exist"

So apparently if the image dimensions (e.g. 1920x1080) are bigger than what you have set for your "maximum width" and "maximum height" in your Settings > Media, then you will have this issue.

I set my max width to 2200 and my max height to 1300 and now my bigger images upload with no problem!!!

Finally!!!! i hope this helps anyone out there

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.