Title: error_log in wp-admin folder
Last modified: August 22, 2016

---

# error_log in wp-admin folder

 *  Resolved [chawacho](https://wordpress.org/support/users/chawacho/)
 * (@chawacho)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error_log-in-wp-admin-folder/)
 * My setup:
 * PHP 5.4.
    WordPress version 4.1. EWWW Image Optimizer version 2.2.2.
 * Everytime I go to Settings > EWWW Image Optimizer, there will be an error log
   in public_html/wp-admin/error_log with the following information:
 * WordPress database error You have an error in your SQL syntax; check the manual
   that corresponds to your MySQL server version for the right syntax to use near‘-
   1000’ at line 1 for query SELECT orig_size-image_size FROM xxxxx_ewwwio_images
   LIMIT 1000, -1000 made by do_action(‘wp_ajax_ewww_savings_loop’), call_user_func_array,
   ewww_image_optimizer_savings_loop
 * Please help I’m not sure is this just happen to me? Thanks.
 * [https://wordpress.org/plugins/ewww-image-optimizer/](https://wordpress.org/plugins/ewww-image-optimizer/)

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

 *  Plugin Author [nosilver4u](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error_log-in-wp-admin-folder/#post-5677709)
 * Hmm, I wonder if certain settings with mysql don’t allow a negative argument 
   for the number of rows. I’ve never noticed any errors with it before, so I hadn’t
   taken any protective measures to prevent it. According to the mysql docs, the
   parameters for LIMIT should be non-negative, so I’ll have to fix that.
 *  Plugin Author [nosilver4u](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error_log-in-wp-admin-folder/#post-5677711)
 * Fixed in dev: [https://downloads.wordpress.org/plugin/ewww-image-optimizer.zip](https://downloads.wordpress.org/plugin/ewww-image-optimizer.zip)
 *  Thread Starter [chawacho](https://wordpress.org/support/users/chawacho/)
 * (@chawacho)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error_log-in-wp-admin-folder/#post-5677771)
 * Thank you very much.

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

The topic ‘error_log in wp-admin folder’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [chawacho](https://wordpress.org/support/users/chawacho/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/error_log-in-wp-admin-folder/#post-5677771)
 * Status: resolved