Media Library stopped working after installing 3.1.3 security update. No thumbnails shown, but well known "No media attachments found." message. Any help will be appreciated.
Media Library stopped working after installing 3.1.3 security update. No thumbnails shown, but well known "No media attachments found." message. Any help will be appreciated.
Have you tried:
- deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
- switching to the Twenty Ten theme to rule out any theme-specific problems.
- resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.
- checking your uploads path in Settings -> Media
It works for me, though there IS a bug.
ETA: And I've let the dec know about this one.
No problem in my Media Library on upgrade, so far.
So where does one direct those who have these problems? Should users even upgrade to 3.1.3 at all or wait for 3.1.4?
luisantiago:
Sorry about your troubles on this one. We managed to ship a small bug in the 3.1.3 release. (The only one, we think.) You hit a very rare condition -- in fact, only about three or four plugins in the entire directory can trigger this condition.*
Never fear, install a tiny plugin called "Hotfix" -- http://wordpress.org/extend/plugins/hotfix/ -- and all will return to normal.
Sorry for any inconvenience,
Nacin
* Let me guess, do you have at least one of these plugins activated? Subscribe2, cbnet Different Posts Per Page, Gengo, or WP Multilingual.
My Media Library is working, but I get the following warnings after upgrading to 3.1.3:
Warning: explode() expects parameter 2 to be string, array given in /Users/capneb/Sites/blankfield.net/blankfield.net/wp-includes/query.php on line 2390
Warning: in_array() expects parameter 2 to be array, null given in /Users/capneb/Sites/blankfield.net/blankfield.net/wp-includes/query.php on line 2399
The second warning appears 8 times on my page when on the Media Library page or the image box is open (adding an image to a post/page with Media Library tab selected). All plugins deactivated. The warnings disappear after downgrading to 3.1.2.
@andrew
Installed hotfix plugin, problem solved. You guessed well: Different Posts per Page pulled the trigger.
Many thanks to all of you who took care of my request.
discern - can you try installing http://wordpress.org/extend/plugins/hotfix/
The 'Attachments' Plugin also had the same problem with 3.1.3, the same issue that discern described. Hotfix worked!
I had the same problem as luisantiago and sure enough, the Different Posts per Page plugin was also causing the problem. Hotfix worked fine. Thanks to all!
There is a bug in FeedWordPress plugin caused by 3.1.3. Downgrading solved it. Maby Hotfix will also work.
Also this plugin stopped working I think:
http://dev.huiz.net/2010/01/03/wordpress-plugin-scissors-for-v2-9/
FYI, we NEVER suggest downgrading, as it doesn't help anyone debug ;) Re-upgrade and try the hotfix, please and thank you :D
Also, pointing out the obvious, that plugin says:
Addition 27 Feb, 2011: The plugin WordPress for v2.9 is not available anymore. There is a new plugin, Scissors Continued, which will work from v2.9 and up.
So does http://dev.huiz.net/code/scissors-continued/ work?
Hi, I think I have some similar issue...
My media library looks ok, but I'm unable to upload any new image on my posts.
I've installed the hotfix plugin but it didn't solved.
I've also disabled all plugins, but it makes no difference.
Any idea?
Alexandru Burlacu - That's a separate issue. Please make a new topic for yourself, and include any error messages you're getting.
The Hotfix plugin worked for me...THANK YOU SO MUCH! I was really worried there for a second..
@andrew
Installed hotfix plugin and it fixed my Media Library as well.
A plugin called 'Custom Query String Reloaded' was causing the problem
Many thanks
Apparently "Exec-PHP" also causes the error.
Thanks for the quick fix folks.
A.
I encountered the same problem with a fresh install of WP3.1.3. No plugins installed yet, but problem fixed by installing the hotfix plugin. Thanks for the quick fix.
hotfix worked for me, i have both exec-php and different posts per page installed. thanks!
This plugin fixed the problem for me. I think mine was triggered by the use of the WP-Ecommerce plugin. Thanks for the support!!!
Chiming in: Also had this problem with a "clean" 3.1.3 installation, and the Hotfix fixed it.
Same problem here. I Tried the hotfix but when installing I get an error 'this plugin doesn't have appropriate headers.
This is very inconvenient as we just launched our website and use a lot of pics.
We use the attachment plugin, so that one might cause it, although deactivating it doesn't solve anything.
well, just fixed it by manually adding this code (from hotfix plugin) to my themes functions.php. It helped!
add_filter( 'request', 'wp_hotfix_313_post_status_query_string_request' );
function wp_hotfix_313_post_status_query_string_request( $qvs ) {
if ( isset( $qvs['post_status'] ) && is_array( $qvs['post_status'] ) )
$qvs['post_status'] = implode( ',', $qvs['post_status'] );
return $qvs;
}
I can't seem to install the plugin.
1. I arrive at "http://wordpress.org/extend/plugins/hotfix/installation/"
2. I click on "click here"
3. That takes me to "http://coveredwebservices.com/wp-plugin-install/?plugin=hotfix"
4. I fill the wordpress URL after the pre-filled "http://" with "www.whateverMyURLIs.com/theSubFolder"
5. I click on "install plugin"
6. That takes me to "http://coveredwebservices.com/wp-plugin-install/?plugin=hotfix" and the page is completely blank except for "Install hotfix on http://whateverMyURLIs.com/theSubFolder/ ?" at the top
7. I check back in my media library and my files are still missing. I can't see them unless I turn off my WP e-commerce plugin.
8. I try this several times in different browsers, I'm still not successful.
How is everyone installing this "easy fix"? What am I overlooking?
Hi baokhangluu,
I had the same problem ad you. I solved it by adding the code below to my themes functions.php.
add_filter( 'request', 'wp_hotfix_313_post_status_query_string_request' );
function wp_hotfix_313_post_status_query_string_request( $qvs ) {
if ( isset( $qvs['post_status'] ) && is_array( $qvs['post_status'] ) )
$qvs['post_status'] = implode( ',', $qvs['post_status'] );
return $qvs;
}
Hi Pieterg,
I had to do the same thing. That worked. Thanks, man!
Had the exact same problem as discern, installed the HotFix plug-in and it's all good again.
Any more news on this - the Hotfix doesnt work for me.
And its not just down to plugins.
I've got no plugins installed, and its a fresh installation of WordPress; the only thing thats installed on it is a the Quality Control template.
Hi baokhangluu,
I had the same problem ad you. I solved it by adding the code below to my themes functions.php.
add_filter( 'request', 'wp_hotfix_313_post_status_query_string_request' );
function wp_hotfix_313_post_status_query_string_request( $qvs ) {
if ( isset( $qvs['post_status'] ) && is_array( $qvs['post_status'] ) )
$qvs['post_status'] = implode( ',', $qvs['post_status'] );
return $qvs;
}
Oh, tried this, and got
Fatal error: Cannot redeclare wp_hotfix_313_post_status_query_string_request() (previously declared in /home/step2151/public_html/petridish/wp-content/plugins/hotfix/hotfix.php:76) in /home/step2151/public_html/petridish/wp-content/themes/quality-control/functions.php on line 451
Disabled the hotfix plugin and did it again, and got nothing still.
If anyone could help I'd be really grateful (and I dont think this should be listed as resolved).
This topic has been closed to new replies.