Title: Featured Image Error -1
Last modified: August 20, 2016

---

# Featured Image Error -1

 *  Resolved [oscb](https://wordpress.org/support/users/oscb/)
 * (@oscb)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/featured-image-error-1/)
 * Hi there,
 * I don’t usually post anything since I find the solutions in similar Topics here
   but I haven’t found anything about this yet and it’s driving my client nuts (
   not me, actually).
 * Apparently when I select a picture I upload as a featured image WordPress won’t
   do anything it just displays a -1 in the Featured Image Box (it’s in spanish 
   but is actually the same) see pic:
    [http://cl.ly/3b0G3l211K3q3o2x3Y2I](http://cl.ly/3b0G3l211K3q3o2x3Y2I)
 * When i try to obtain the image using the function get_post_thumbnail it won’t
   get it. The image is uploaded and everything is ok but apparently it just won’t
   work.
 * By now I’ve tried replacing the WordPress files (reuploading WordPress) and deactivating
   all plug ins as well as trying to use it on different post types (currently there
   are 2 as well as normal posts) with no luck.
 * Any of you has an idea about it?

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

 *  Thread Starter [oscb](https://wordpress.org/support/users/oscb/)
 * (@oscb)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/featured-image-error-1/#post-2309045)
 * Problem solved. I will explain why it happened and how to solve it if you find
   yourself in the same trouble:
 * I was using [this](http://deluxeblogtips.com/taxonomy-meta-script-for-wordpress/)
   framework for taxonomy metadada. Even though it is an awesome code, it has a 
   function that causes trouble: check_field_wysiwyg()
 * The thing is that it is enqueueing jQuery everywhere it finds a WYSIWYG textarea
   and that includes the “Add Post” area. This causes trouble passing the ID of 
   the images to the Featured Image Area on WP, so it saves just “-1”.
    Just comment
   the wp_enqueue_script(‘jquery’); line on the code and everything should be going
   on just OK!
 *  [pete101](https://wordpress.org/support/users/pete101/)
 * (@pete101)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/featured-image-error-1/#post-2309534)
 * can you explain how to do this please?
 * i dont understand what you mean

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

The topic ‘Featured Image Error -1’ is closed to new replies.

## Tags

 * [featured image](https://wordpress.org/support/topic-tag/featured-image/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [images](https://wordpress.org/support/topic-tag/images/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)
 * [thumbnail](https://wordpress.org/support/topic-tag/thumbnail/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [pete101](https://wordpress.org/support/users/pete101/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/featured-image-error-1/#post-2309534)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
