An error occurred in the upload. Please try again later

By | October 11, 2013

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

Sigh, not again!

Insert Media -> Upload Files -> Select Files -> Pick a single 8K jpeg -> Open

It should be really straightforward.

I mean, how can uploading an 8K image be a difficult and error prone task?

Apparently it can.

At least sometimes, though only on some of my WordPress blogs – and size doesn’t seem to matter either.

First step (as always) is to disable all plugins and see if the problem goes away. If it does, then great. Enable plugins again one by one until you find the culprit.

Last time I had the issue I did just that – without any luck.

So, then I spent quite some time wading through posts on wordpress.org – and didn’t find a solution.

I tried the same image saved in lots of different sizes – no luck.

I tried saving the image as both jpeg and png – no difference either.

I kinda gave up trying to fix it, but when I came back a bit later it had solved itself.

And it worked until today when I went to upload an image – and got stiffed again.

Ended up finding a “solution” this time here:

http://rockdio.org/ayudatech/solution-to-3-5-an-error-occurred-in-the-upload-please-try-again-later/

Turned out that the functions.php that came with my Theme caused the Media Uploader to fail.

A quick rename of the functions.php file in the Theme directory allowed me to upload new media – the downside was that my site only showed a blank page when I refreshed it.

Current workaround is to rename the file, upload a bunch of images and then rename the file back immediately.

Elegant? – nope

Useful until the Theme is fixed or I find a another Theme that doesn’t break WP functionality? – Yep

Leave a Reply

Your email address will not be published. Required fields are marked *