Title: Error, Can&#8217;t create thumbnails
Last modified: August 18, 2016

---

# Error, Can’t create thumbnails

 *  [xepox](https://wordpress.org/support/users/xepox/)
 * (@xepox)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/error-cant-create-thumbnails/)
 * Hi I get strange errors if I use the upload feature and want to create a thumbnail:
 * —-
    Warning: Division by zero in (Hostpath)/wp-admin/admin-functions.php on line
   152
 * Warning: Division by zero in (Hostpath)/wp-admin/admin-functions.php on line 
   153
 * Warning: imagecreatetruecolor(): Invalid image dimensions in (Hostpath)/wp-admin/
   admin-functions.php on line 165
 * Warning: imagejpeg(): supplied argument is not a valid Image resource in (Hostpath)/
   wp-admin/admin-functions.php on line 178
    —–
 * What can I do to fix this issue? As far as I know, the function responsible for
   creating thumbnails doesn’t do it’s job corectly. The errors following the first
   one is a side effect of this.
 * Can anyone please help me and/or direct me to resources about this error.
 * Cheers, XepoX.

Viewing 1 replies (of 1 total)

 *  Thread Starter [xepox](https://wordpress.org/support/users/xepox/)
 * (@xepox)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/error-cant-create-thumbnails/#post-126061)
 * HI again.
 * Problem solved.
 * I found the place causing the error. A typo made by myself of course, hehe.
 * Cheers

Viewing 1 replies (of 1 total)

The topic ‘Error, Can’t create thumbnails’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [xepox](https://wordpress.org/support/users/xepox/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/error-cant-create-thumbnails/#post-126061)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
