Title: [Plugin: Advanced Custom Fields] Empty Media Library?
Last modified: August 20, 2016

---

# [Plugin: Advanced Custom Fields] Empty Media Library?

 *  Resolved [rbrtwhite](https://wordpress.org/support/users/rbrtwhite/)
 * (@rbrtwhite)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-advanced-custom-fields-empty-media-library/)
 * When I attempt to add an image to an image field, the ‘upload from your computer’
   interface works fine, but the Media Library tab is empty. The total number of
   images is shown next to All Types | Images ##, but none of the actual images 
   are displayed. Searching, filtering results, or sorting by date makes no difference.
 * Does anyone else experience this issue? Any known fixes?
 * [http://wordpress.org/extend/plugins/advanced-custom-fields/](http://wordpress.org/extend/plugins/advanced-custom-fields/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [scottconnerly](https://wordpress.org/support/users/scottconnerly/)
 * (@scottconnerly)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-advanced-custom-fields-empty-media-library/#post-2925556)
 * I am also having this issue.
 * I believe it is coming from the link to the media library tab having the type
   =image in it. It generates a tax_query in the WP_Query which ends up putting 
   a 0 = 1 into the SQL query.
 * I’m on WP 3.4.1 and ACF 3.3.9
 *  Plugin Contributor [Elliot Condon](https://wordpress.org/support/users/elliotcondon/)
 * (@elliotcondon)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-advanced-custom-fields-empty-media-library/#post-2925560)
 * Hey guys,
 * Very strange. Out of curiosity, can you click on the default WYSIWYG editor upload
   media icon? Have a look in the url for the iframe. Does this iframe have the 
   type=image?
 * Cheers
    Elliot
 *  [scottconnerly](https://wordpress.org/support/users/scottconnerly/)
 * (@scottconnerly)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-advanced-custom-fields-empty-media-library/#post-2925561)
 * Yes, it does.
 *  Plugin Contributor [Elliot Condon](https://wordpress.org/support/users/elliotcondon/)
 * (@elliotcondon)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-advanced-custom-fields-empty-media-library/#post-2925562)
 * That then suggests that it is not the “type=image” param that is causing the 
   issue.
 * This is unexpected behavior for ACF and I would first guess that there is a plugin/
   theme conflict that is causing the error.
 * Have you tried deactivating all plugins / switching themes to see if that works?
 * Then you can go through and activate them 1 by 1 until you find the culprit.
 * Good luck!
 *  [scottconnerly](https://wordpress.org/support/users/scottconnerly/)
 * (@scottconnerly)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-advanced-custom-fields-empty-media-library/#post-2925563)
 * I just deactivated all plugins on the site and then activated ACF. The URL is:
 * /wp-admin/media-upload.php?post_id=1698&type=image&acf_type=image&acf_preview_size
   =thumbnail&tab=library
 * type=image is still in there.
 *  Plugin Contributor [Elliot Condon](https://wordpress.org/support/users/elliotcondon/)
 * (@elliotcondon)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-advanced-custom-fields-empty-media-library/#post-2925564)
 * Hi scottconnerly,
 * I don’t know why you believe that having “type=image” is an issue. Even without
   ACF activated, all the media popup urls have “type=image” in it.
 * You said it created a tax query. Do you have a taxonomy called type?
 *  [scottconnerly](https://wordpress.org/support/users/scottconnerly/)
 * (@scottconnerly)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-advanced-custom-fields-empty-media-library/#post-2925565)
 * Yep.
    You nailed it. Thank you, Elliot.
 *  Plugin Contributor [Elliot Condon](https://wordpress.org/support/users/elliotcondon/)
 * (@elliotcondon)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-advanced-custom-fields-empty-media-library/#post-2925566)
 * Happy to help.
 * For anyone else reading this. WP will have query issues if you have a taxonomy
   called “type”. Please rename it to something more unique.
 * Cheers
    Elliot
 *  Thread Starter [rbrtwhite](https://wordpress.org/support/users/rbrtwhite/)
 * (@rbrtwhite)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-advanced-custom-fields-empty-media-library/#post-2925567)
 * Thanks Elliot, I also had a taxonomy named ‘type’.
 *  [sevencolors](https://wordpress.org/support/users/sevencolors/)
 * (@sevencolors)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-advanced-custom-fields-empty-media-library/#post-2925570)
 * I have taxonomy’s as well and it is causing this issue. None called type tho

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘[Plugin: Advanced Custom Fields] Empty Media Library?’ is closed to new
replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

## Tags

 * [media library](https://wordpress.org/support/topic-tag/media-library/)
 * [missing](https://wordpress.org/support/topic-tag/missing/)

 * 10 replies
 * 4 participants
 * Last reply from: [sevencolors](https://wordpress.org/support/users/sevencolors/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-advanced-custom-fields-empty-media-library/#post-2925570)
 * Status: resolved