Greetings,
We have upgraded our theme to newsmag 1.6 from 1.5 and a new problem emerged. When editing a post in the post edit screen, when we try to add an image – media to the post the media library is empty. It doesn’t happen in every try but most of the time there is a problem with adding media.
We have tried disabling all plugins without exception and it didn’t solve the problem. We have tried rolling back to Newsmag 1.5 but still problems persisted. The solution was returning to default WordPress themes such as 2015 or 2014.
How can we solve this problem?
Kind Regards,
THis might not be your issue/solution, however:
I do occasionally have issues with drag and drop uploading, which seems (in my attempt to debug this issue) to happen when the WP system does an “auto save” while trying to upload a media file with post open.
Meaning, the WP panel cannot upload a media file same time it’s making a “draft save” of an open post.
We changed the default update time in functions.php which seemed to help with that random “error” when adding files to the media manager.
For us, this happened post WP 4.0 and randomly ever since.
Thank you for your fast reply,
We are using latest available WordPress 4.1.1 version. We have been keeping our site updated very quickly in last 4 years.
No we don’t use drag and drop image upload, we choose images from local computer and upload. There is no problem uploading images to site. However, when we open the media library in the post to choose images to add inside the post, media library is empty.
Then sometimes media library images show, then we choose one or more picture and click on add to post, nothing happens. Thats the main problem here.
I have found out some posts concerning empty media library or being unable to place images from library to the posts. They all focused on functions.php. However I have no idea which part is responsible for this problem. There is some random conflict with theme that we can’t pinpoint.
How do you suggest we change the default update time in functions.php? If there is a link or guide you can provide it would be very helpful.
Regards,
sorry, it’s actually wp-config.php
Modify autosave interval.
http://codex.wordpress.org/Editing_wp-config.php#Modify_AutoSave_Interval
In our case with media upload oddities, it’s not theme related by fully WP related. I’ve seen this happen with various themes, post WP 4.0 when the oddities with media upload started. Sometimes media thing is empty, and I have to toggle back and then to media again. Almost like the browser is “timing out” on all the stupid ajax crap in the WP admin panel now.
And we have 12 core XEON server with 32GB RAM.
Clearing the web browser cache has also helped, especially on Win7/64 with IE11 if the temp folder is full for browser.