Title: Possible Bug
Last modified: October 14, 2020

---

# Possible Bug

 *  [macksix](https://wordpress.org/support/users/macksix/)
 * (@macksix)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/bug-311/)
 * 1. Install reSmush.it and activate.
    2. Go to the settings page and un-check “
   Optimize on upload.” 3. Check “Do not preserve backups.” 4. Click “Save changes”
   button.
 * Result:
 *     ```
       Notice: Undefined variable: extraSQL in /home/paintlessdentrep/public_html/wp-content/plugins/resmushit-image-optimizer/classes/resmushit.class.php on line 184
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/paintlessdentrep/public_html/wp-content/plugins/resmushit-image-optimizer/classes/resmushit.class.php:184) in /home/paintlessdentrep/public_html/wp-includes/pluggable.php on line 1296
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/paintlessdentrep/public_html/wp-content/plugins/resmushit-image-optimizer/classes/resmushit.class.php:184) in /home/paintlessdentrep/public_html/wp-includes/pluggable.php on line 1299
       ```
   
 * If I use the back button on the browser and click “Save changes” button again.
   It works.
 * Reverse steps 2 and 3 works. Then after that, reversing steps 2 and 3 back to
   original steps above, causes the error again.
 * I can’t reproduce this on another site.
 * I never changed anything other than those 2 settings after I installed the plugin.
 * I disabled all other plugins and switched to default theme. It still does it.
 * I changed image quality to 80 and tried it and it will still do it.
 * reSmush.it v0.3.11, WordPress v5.5.1
    -  This topic was modified 5 years, 7 months ago by [macksix](https://wordpress.org/support/users/macksix/).
    -  This topic was modified 5 years, 7 months ago by [macksix](https://wordpress.org/support/users/macksix/).
    -  This topic was modified 5 years, 7 months ago by [macksix](https://wordpress.org/support/users/macksix/).

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

 *  Plugin Contributor [reSmush.it](https://wordpress.org/support/users/resmushit/)
 * (@resmushit)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/bug-311/#post-13607675)
 * Thanks for this report, we’ll have a look at it!
 *  Thread Starter [macksix](https://wordpress.org/support/users/macksix/)
 * (@macksix)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/bug-311/#post-14247300)
 * This is not a bug. This is something weird with my WordPress installation. Whatever
   it was, it was throwing similar errors when emptying comment trash files with
   Powered Cache installed.
 * Powered Cache disabled did not help the reSmush.it error though, only the empty
   comment trash it affected.
 * I could not figure out what it was.
 * I rebuilt, deleted the entire site and migrated the rebuild to it and this does
   not happen now.

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

The topic ‘Possible Bug’ is closed to new replies.

 * ![](https://ps.w.org/resmushit-image-optimizer/assets/icon-256x256.png?rev=3049668)
 * [reSmush.it : The original free image compressor and optimizer plugin](https://wordpress.org/plugins/resmushit-image-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/resmushit-image-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/resmushit-image-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/resmushit-image-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/resmushit-image-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/resmushit-image-optimizer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [macksix](https://wordpress.org/support/users/macksix/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/bug-311/#post-14247300)
 * Status: not resolved