Title: WordPress database error: [Table wp_shortpixel_folders&#8217; doesn&#8217;t exist]
Last modified: November 6, 2017

---

# WordPress database error: [Table wp_shortpixel_folders’ doesn’t exist]

 *  Resolved [iidbae](https://wordpress.org/support/users/iidbae/)
 * (@iidbae)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/wordpress-database-error-table-wp_shortpixel_folders-doesnt-exist/)
 * This morning I try to change my plugin image optimizer into Shortpixel and got
   error message in Settings > ShortPixel
 * The complete error message.
    — WordPress database error: [Table ‘tarjiemc_com.
   wp_shortpixel_folders’ doesn’t exist] SELECT * FROM wp_shortpixel_folders WHERE
   status <> -1
 * WordPress database error: [Table ‘tarjiemc_com.wp_shortpixel_meta’ doesn’t exist]
   
   SELECT count(*) totalFiles, sum(CASE WHEN status = 2 THEN 1 ELSE 0 END) totalProcessedFiles,
   sum(CASE WHEN status = 2 AND compression_type = 1 THEN 1 ELSE 0 END) totalProcLossyFiles,
   sum(CASE WHEN status = 2 AND compression_type = 2 THEN 1 ELSE 0 END) totalProcGlossyFiles,
   sum(CASE WHEN status = 2 AND compression_type = 0 THEN 1 ELSE 0 END) totalProcLosslessFiles
   FROM wp_shortpixel_meta WHERE status <> -1
 * WordPress database error: [Table ‘tarjiemc_com.wp_shortpixel_meta’ doesn’t exist]
   
   SELECT id, name, path, message FROM wp_shortpixel_meta WHERE status < -1 AND 
   retries >= 3 LIMIT 30 — My website [https://tarjiem.com/](https://tarjiem.com/).
 * Thank you for your help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-database-error-table-wp_shortpixel_folders-doesnt-exist%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [ShortPixel](https://wordpress.org/support/users/shortpixel/)
 * (@shortpixel)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/wordpress-database-error-table-wp_shortpixel_folders-doesnt-exist/#post-9654582)
 * Hello,
 * Could you please check that you have a wp_option called: ‘wp-short-pixel-has-
   custom-folders’ set to 1? If this is the case, please set it to 0 and please 
   let me know if this fixes.
 * Did you previously uninstall ShortPixel and delete by hand the tables wp_shortpixel_folders
   and wp_shortpixel_meta? This would explain.
 * Best regards,
    Simon.
 *  Thread Starter [iidbae](https://wordpress.org/support/users/iidbae/)
 * (@iidbae)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/wordpress-database-error-table-wp_shortpixel_folders-doesnt-exist/#post-9658751)
 * I just realize if I have asking a question previously here for support too. I
   am very embarrassed.
 * > Could you please check that you have a wp_option called: ‘wp-short-pixel-has-
   > custom-folders’ set to 1? If this is the case, please set it to 0 and please
   > let me know if this fixes.
 * I can not find “wp-short-pixel-has-custom-folders” in my database via phpmyadmin.
 * > Did you previously uninstall ShortPixel and delete by hand the tables wp_shortpixel_folders
   > and wp_shortpixel_meta? This would explain.
 * I guess yes.
 * Thank you for your reply.
 *  Plugin Author [ShortPixel](https://wordpress.org/support/users/shortpixel/)
 * (@shortpixel)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/wordpress-database-error-table-wp_shortpixel_folders-doesnt-exist/#post-9664376)
 * Hi, did you manage to fix? If you still encounter the problem, could you please
   contact us on our support form ([https://shortpixel.com/contact](https://shortpixel.com/contact))
   in order to be able to assist you further?
 *  Thread Starter [iidbae](https://wordpress.org/support/users/iidbae/)
 * (@iidbae)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/wordpress-database-error-table-wp_shortpixel_folders-doesnt-exist/#post-9665035)
 * Thank you for your reply.
 * > Hi, did you manage to fix?
 * The problem still exist and I did not do anything. I am just waiting for your
   solution.
 * [This is the screenshot ](https://lh3.googleusercontent.com/m4QaPrDe7RJQ3sft867yJCH1YxeehjpC4xZreJfd5rMIb5RpzbCdgqDYcOr-dlZVW3s_EU69O7CJfpAuVhJj-iOsi3AxPmaEPu0L6Fulp3GyK3rZH3pqqia-YPdFs2i_l0kexvptPw=w499-h358-no)
   from the wp-admin.
 * > If you still encounter the problem, could you please contact us on our support
   > form ([https://shortpixel.com/contact](https://shortpixel.com/contact)) in 
   > order to be able to assist you further?
 * I am not your premium user, but I will try this.
    thank you.

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

The topic ‘WordPress database error: [Table wp_shortpixel_folders’ doesn’t exist]’
is closed to new replies.

 * ![](https://ps.w.org/shortpixel-image-optimiser/assets/icon-256x256.gif?rev=3245715)
 * [ShortPixel Image Optimizer - Optimize Images, Convert WebP & AVIF](https://wordpress.org/plugins/shortpixel-image-optimiser/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortpixel-image-optimiser/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortpixel-image-optimiser/)
 * [Active Topics](https://wordpress.org/support/plugin/shortpixel-image-optimiser/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortpixel-image-optimiser/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortpixel-image-optimiser/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [iidbae](https://wordpress.org/support/users/iidbae/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/wordpress-database-error-table-wp_shortpixel_folders-doesnt-exist/#post-9665035)
 * Status: resolved