Title: Database error
Last modified: August 21, 2016

---

# Database error

 *  Resolved [Click-Factor](https://wordpress.org/support/users/click-factor/)
 * (@click-factor)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/database-error-128/)
 * Hello I’m getting this type of error message.
 * > WordPress database error Unknown column ‘image_size’ in ‘field list’ for query
   > UPDATE `igm_MeEgZ3cJfH_ewwwio_images` SET `image_size` = ‘2253’, `results` 
   > = ‘Reduced by 14.9% (394.0 B)’ WHERE `id` = ‘1’ made by require(‘wp-blog-header.
   > php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/IGMstyle/
   > single.php’), get_footer, locate_template, load_template, require_once(‘/themes/
   > IGMstyle/footer.php’), dynamic_sidebar, call_user_func_array, WP_Widget->display_callback,
   > AboutMeWidget->widget, et_new_thumb_resize, et_resize_image, WP_Image_Editor_GD-
   > >save, EWWWIO_GD_Editor->_save, ewww_image_optimizer_aux_images_loop
 * Any idea why does this happen?
 * [http://wordpress.org/plugins/ewww-image-optimizer/](http://wordpress.org/plugins/ewww-image-optimizer/)

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

 *  Plugin Author [nosilver4u](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/database-error-128/#post-4317280)
 * Deactivate, and reactivate the plugin. The table schema didn’t get updated on
   your site when you upgraded.
 *  Plugin Author [nosilver4u](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/database-error-128/#post-4317283)
 * I’ve just realized that the activation hooks don’t always fire on upgrade, so
   the next version (already in dev) will do the table modifications a little differently.
 *  Thread Starter [Click-Factor](https://wordpress.org/support/users/click-factor/)
 * (@click-factor)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/database-error-128/#post-4317284)
 * Fine thank you for the advice.
    I will do what you suggest and come back if I
   don’t see any change.
 *  Thread Starter [Click-Factor](https://wordpress.org/support/users/click-factor/)
 * (@click-factor)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/database-error-128/#post-4317288)
 * Hello I’m back again
    It seems that the database issue is now resolved But I’m
   still getting the following errors
 * >  Nov 16, 01:21:55 PHP Warning: unlink(/home/infograp/public_html//wp-content/
   > uploads/igm-Avatar-75-60161_74x74.jpg.prog) [[function.unlink](https://wordpress.org/support/topic/database-error-128/function.unlink?output_format=md)]:
   > No such file or directory in /home/infograp/public_html/wp-content/plugins/
   > ewww-image-optimizer/ewww-image-optimizer.php on line 1877
   >  Nov 16, 01:21:55
   > PHP Warning: rename(/home/infograp/public_html//wp-content/uploads/igm-Avatar-
   > 75-60161_74x74.jpg.tmp,/home/infograp/public_html//wp-content/uploads/igm-Avatar-
   > 75-60161_74x74.jpg) [[function.rename](https://wordpress.org/support/topic/database-error-128/function.rename?output_format=md)]:
   > No such file or directory in /home/infograp/public_html/wp-content/plugins/
   > ewww-image-optimizer/ewww-image-optimizer.php on line 1891
 * How could I stop this?
 *  Plugin Author [nosilver4u](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/database-error-128/#post-4317306)
 * seems to indicate that either jpegtran isn’t working normally, or permissions
   are not set correctly on the uploads/ folder. Those 2 files should be temporarily
   created for every jpg that gets optimized, and then renamed or removed.
 * Do you get those errors on every jpg, or just a few?
 *  Thread Starter [Click-Factor](https://wordpress.org/support/users/click-factor/)
 * (@click-factor)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/database-error-128/#post-4317320)
 * Hello.
 * Ok.But nothing has changed from the server side – this is the first time a get
   this type of error and permissions are set to 755 for the uploads folder.
    I 
   get this error for one specific file that I have uploaded to the uploads folder
   directly via ftp. Now I have moved this file to a subfolder and changed the source
   path of the image source and wait to see.
 * I’ll come back as soon as I see any change.

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

The topic ‘Database error’ is closed to new replies.

 * ![](https://ps.w.org/ewww-image-optimizer/assets/icon-256x256.png?rev=1582276)
 * [EWWW Image Optimizer](https://wordpress.org/plugins/ewww-image-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ewww-image-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ewww-image-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ewww-image-optimizer/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Click-Factor](https://wordpress.org/support/users/click-factor/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/database-error-128/#post-4317320)
 * Status: resolved