Title: galacticpirates's Replies | WordPress.org

---

# galacticpirates

  [  ](https://wordpress.org/support/users/galacticpirates/)

 *   [Profile](https://wordpress.org/support/users/galacticpirates/)
 *   [Topics Started](https://wordpress.org/support/users/galacticpirates/topics/)
 *   [Replies Created](https://wordpress.org/support/users/galacticpirates/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/galacticpirates/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/galacticpirates/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/galacticpirates/engagements/)
 *   [Favorites](https://wordpress.org/support/users/galacticpirates/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Image exists but has_post_thumbnail says it doesn’t](https://wordpress.org/support/topic/image-exists-but-has_post_thumbnail-says-it-doesnt/)
 *  Thread Starter [galacticpirates](https://wordpress.org/support/users/galacticpirates/)
 * (@galacticpirates)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/image-exists-but-has_post_thumbnail-says-it-doesnt/#post-18777683)
 * I did try as you suggested. I switched to a totally uncustomised basic theme (
   the latest 2025). I also deactivated all plugins – it didn’t help, still blank.
 * I had already tried your suggestion about getting the image information on the
   direct level and that hadn’t worked either.
 * Anyway I have found a solution! As I said in my initial post my only theory as
   to how I couldn’t get the information, through any method (direct or function)
   was “it was firing off to discord before writing the data.” and I’m thinking 
   that was likely true.
 * I added this code to delay the discord action:
 *     ```wp-block-code
       wp_schedule_single_event(time() + 5, 'send_to_discord_event', array($post_ID, $post));
       ```
   
 * And that did it. I’m still very glad I made this post because while I have found
   the solution, it drove me insane looking. Usually what I do when troubleshooting
   is search, and find the reddit/stackoverflow/wordpress support etc. posts where
   someone else has had the same issue. I found nothing for this, so now I guess
   I am paying it forward. I hope if anyone else has the same issue they will find
   this and won’t have the same lengthy nightmare I did.
 * Thanks for trying 🙂

Viewing 1 replies (of 1 total)