Title: [Plugin: Regenerate Thumbnails] Stopped working, error msg
Last modified: August 20, 2016

---

# [Plugin: Regenerate Thumbnails] Stopped working, error msg

 *  [shaneholden](https://wordpress.org/support/users/shaneholden/)
 * (@shaneholden)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/)
 * Regenerate thumbnails was working perfectly for me, but without any reason that
   I can find, it just stopped. I’ve added no more plugins, functions, etc., just
   stopped one night and started the next. I’ve been doing it in batches through
   the dropdown menu in the Media section
 * The error I keep getting now is:
 * `(ID 1493) failed to resize. The error message was: The originally uploaded image
   file cannot be found at...`
 * Any idea what’s going on?

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/page/2/?output_format=md)

 *  Thread Starter [shaneholden](https://wordpress.org/support/users/shaneholden/)
 * (@shaneholden)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/#post-2236882)
 * I’m still getting
 *     ```
       Debugging Information
   
       Total Images: 1
       Images Resized: 0
       Resize Failures: 1
   
       "dsc_1565" (ID 1359) failed to resize. The error message was: The originally uploaded image file cannot be found at /home/shane/public_html/wp-content/uploads/2008/12/dsc_1565.jpg
       ```
   
 * for images from 02/2009 and older. Every one back to that point worked perfectly.
   Any idea what the issue may be?
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/#post-2236883)
 * Does `/wp-content/uploads/2008/12/dsc_1565.jpg` exist?
 *  Thread Starter [shaneholden](https://wordpress.org/support/users/shaneholden/)
 * (@shaneholden)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/#post-2236884)
 * Yessir. I’ve tried it on many others past that and none work. Anything newer (
   uploaded after that point) work just fine.
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/#post-2236885)
 * Are you any good with PHP? If so, are you willing to help me debug?
 * I’m curious what the output of `var_dump( get_attached_file( 1359 ) )` is.
 *  Thread Starter [shaneholden](https://wordpress.org/support/users/shaneholden/)
 * (@shaneholden)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/#post-2236886)
 * I wish I could say I was good with it. If it’s something fairly simple that you
   could walk me through, I’d be more than willing to do it. Or, if it’s something
   that’s not so easy, I’d be up for giving you access to debug it. Just let me 
   know
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/#post-2236887)
 * Try adding this to the top of your theme’s `functions.php` file:
 *     ```
       add_action( 'admin_init', 'viper_debug' );
       function viper_debug() {
       var_dump( get_attached_file( 1359 ) );
       exit();
       }
       ```
   
 * Then visit your admin area, copy/paste the little bit of output (if it’s showing
   your admin area, then it’s not working), and then remove the code to get your
   admin area back.
 *  Thread Starter [shaneholden](https://wordpress.org/support/users/shaneholden/)
 * (@shaneholden)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/#post-2236888)
 * Here’s the output
 * `string(63) "/home/shane/public_html/wp-content/uploads/2008/12/dsc_1565.jpg"`
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/#post-2236889)
 * Okay, so that’s working correctly. Looking back to the error message that’s rather
   obvious though. Whoops. *facepalm*
 * Did you change hosting at some point or anything? I’m thinking that perhaps the
   absolute path isn’t correct.
 * Try this:
 *     ```
       add_action( 'admin_init', 'viper_debug' );
       function viper_debug() {
       var_dump( __FILE__ );
       exit();
       }
       ```
   
 *  Thread Starter [shaneholden](https://wordpress.org/support/users/shaneholden/)
 * (@shaneholden)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/#post-2236890)
 * I have changed hosting before, but as far as I can remember, it was before the
   month & year that get this error.
 * This new code gives me:
 * `string(70) "/home/shanehol/public_html/wp-content/themes/shaneholden/functions.
   php"`
 * I appreciate your time!
 *  Thread Starter [shaneholden](https://wordpress.org/support/users/shaneholden/)
 * (@shaneholden)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/#post-2236900)
 * Hi Alex, just wanted to check and see if you’ve had a chance or had any luck 
   with this?
 * Thanks so much!
 *  [ve39](https://wordpress.org/support/users/ve39/)
 * (@ve39)
 * [14 years ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/#post-2236923)
 * have exact same issue !
 *  [Steve Borsch](https://wordpress.org/support/users/sborsch/)
 * (@sborsch)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/#post-2236926)
 * Alex,
 * Having *exactly* the same issue after upgrading to WP 3.4 last night on one of
   my mission-critical sites!
 * Thumbnails mysteriously vanished on many of my posts and pages (and all galleries
   are pretty much broken) and regenerating them causes errors to begin at image
   204 out of 2000+.
 * Didn’t change hosting. Didn’t add plugins. Stumped.
 *  [Anh Tran](https://wordpress.org/support/users/rilwis/)
 * (@rilwis)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/#post-2236929)
 * Hi Alex, I have the exact problem. I’m not sure it’s because of WP 3.4 (I don’t
   remember when this problem happened). Maybe it’s the problem of WP itself.
 * Here’s a screenshot of an image in the Media Library that shows the error as 
   well: [http://t.co/Duc4deIY](http://t.co/Duc4deIY)
 *  [wesg](https://wordpress.org/support/users/wesg/)
 * (@wesg)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/#post-2236930)
 * I’m having the same issue with media thumbnails, but I’m doubtful it’s related
   to the plugin. Since updating to WP3.4 most of my older media is not showing 
   up and trying this plugin results in the same error as above.
 * I’m guessing something changed from the database retrieval. If you need any help
   debugging, I’d be happy to help!
 *  [wesg](https://wordpress.org/support/users/wesg/)
 * (@wesg)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/#post-2236931)
 * I’d like to add that I just just tried the above var_dump command on specific
   attachments and the images that disappeared return a blank string.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/page/2/?output_format=md)

The topic ‘[Plugin: Regenerate Thumbnails] Stopped working, error msg’ is closed
to new replies.

 * 18 replies
 * 8 participants
 * Last reply from: [Cosmin](https://wordpress.org/support/users/gizmoc/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-regenerate-thumbnails-stopped-working-error-msg/page/2/#post-2236934)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
