Title: MISSING _wp_attachment_metadata
Last modified: December 2, 2017

---

# MISSING _wp_attachment_metadata

 *  [welsige](https://wordpress.org/support/users/welsige/)
 * (@welsige)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/missing-_wp_attachment_metadata/)
 * Hi,
 * We noticed, after enabling WP super cache and cloudflare service, that when sharing
   a post within facebook the featured image would not show.
 * At first we thought it could be an effect of those caches, and perhaps they play
   some part in it, but digging deeper we found that some images in “postmeta” table
   had missing information regarding the size oft he picture, and that the _wp_attachment_metadata
   information was missing. Facebook sees them as images of 0 x 0 size and do not
   use them.
 * How can I generate this info on the database for images that have it missing?
 * For the moment FB Thumb Fixer seem to be working to inform facebook of the featured
   image to use, bu seems like a waste of space to have a plugin to just do that.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmissing-_wp_attachment_metadata%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [bemdesign](https://wordpress.org/support/users/bemdesign/)
 * (@bemdesign)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/missing-_wp_attachment_metadata/#post-9745776)
 * Hi welsige! Have you tried using [https://wordpress.org/plugins/regenerate-thumbnails/](https://wordpress.org/plugins/regenerate-thumbnails/)?–
   it may be able to recreate the missing meta data. Give it a shot and let us know
   if it works.
 *  Thread Starter [welsige](https://wordpress.org/support/users/welsige/)
 * (@welsige)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/missing-_wp_attachment_metadata/#post-9750493)
 * Tried , dosent work, failed trying to regenerate an specific image.
 * Redimensionamentos falhados: 1
 * function (){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){n.each(b,
   function(b,c){n.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&”string”!
   ==n.type(c)&&d(c)})}(arguments),c&&!b&&i()),this}
 *  [bemdesign](https://wordpress.org/support/users/bemdesign/)
 * (@bemdesign)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/missing-_wp_attachment_metadata/#post-9753279)
 * Perhaps try replacing the “corrupt” image with a new image using something like
   [https://wordpress.org/plugins/enable-media-replace/](https://wordpress.org/plugins/enable-media-replace/).
 * One other thing to possibly try: download the image from your site, open it with
   an image editor of your choice, save a new copy of the image, upload this new
   image file up to WordPress and then use that new version.

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

The topic ‘MISSING _wp_attachment_metadata’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [bemdesign](https://wordpress.org/support/users/bemdesign/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/missing-_wp_attachment_metadata/#post-9753279)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
