Title: Errors with latest version
Last modified: November 8, 2016

---

# Errors with latest version

 *  Resolved [charliecat](https://wordpress.org/support/users/charliecat/)
 * (@charliecat)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/errors-with-latest-version/)
 * Hi,
 * Since your latest release we are seeing some problems when running a site with
   WP_DEBUG switched on.
 * When creating a new post:
 * WARNING: wp-admin/admin-header.php:9 – Cannot modify header information – headers
   already sent by (output started at *****/wp-content/plugins/shortpixel-image-
   optimiser/shortpixel-debug.php:2)
    include(‘wp-admin/edit-form-advanced.php’),
   require_once(‘wp-admin/admin-header.php’), header
 * And when deleting a post:
 * Warning: Missing argument 5 for process_error_backtrace(), called in *****/wp-
   content/plugins/debug-bar/panels/class-debug-bar-php.php on line 54 and defined
   in *****/wp-content/plugins/shortpixel-image-optimiser/shortpixel-debug.php on
   line 2
    Backtrace from warning ‘Cannot modify header information – headers already
   sent by (output started at *****/wp-content/plugins/shortpixel-image-optimiser/
   shortpixel-debug.php:2)’ at *****/wp-includes/pluggable.php 1174:
 * *****/wp-admin/edit.php 169 calling wp_redirect()
    *****/wp-includes/pluggable.
   php 1174 calling header() calling error_handler()
 * charliecat

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

 *  Plugin Author [ShortPixel](https://wordpress.org/support/users/shortpixel/)
 * (@shortpixel)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/errors-with-latest-version/#post-8414241)
 * Hello,
 * Thank you for contacting us and for letting us know about the problem. It’s due
   to a debug hook that we have in our plugin that is active on WP_DEBUG. The problem
   is that it catches other plugins errors too so we changed that to be enabled 
   on a custom define. It will be released next week. If you need it sooner please
   let me know and I’ll send you a version.
 * Regards,
    Alex.
 *  Thread Starter [charliecat](https://wordpress.org/support/users/charliecat/)
 * (@charliecat)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/errors-with-latest-version/#post-8415736)
 * Great, thanks for your fast reply.

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

The topic ‘Errors with latest version’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [charliecat](https://wordpress.org/support/users/charliecat/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/errors-with-latest-version/#post-8415736)
 * Status: resolved