• Resolved charliecat

    (@charliecat)


    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

    (@shortpixel)

    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

    (@charliecat)

    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.