• Resolved laughnan

    (@laughnan)


    Currently on WordPress 6.1.1 and PHP 8.2 and I’m seeing these warnings from this plugin (version 2.9.3):

    Warning: Cannot modify header information - headers already sent by (output started at/wp-content/plugins/simple-lightbox/includes/class.options.php:501) in /wp-admin/includes/misc.php on line 1416
    
    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/simple-lightbox/includes/class.options.php:501) in /wp-includes/functions.php on line 6865
    
    Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/simple-lightbox/includes/class.options.php:501) in /wp-admin/admin-header.php on line 9
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Archetyped

    (@archetyped)

    This appears to be due to the notice output by PHP 8.2 in your other post on PHP 8.2.

    Turning off debug output should resolve both issues without any effect to SLB’s functionality.

    Thread Starter laughnan

    (@laughnan)

    Thanks @archetyped! It doesn’t interrupt the visitor experience, I just wanted to call it out. I didn’t know if there is a developer backlog or something to remove the deprecated usages.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[PHP 8.2 Warning] Cannot modify header information – headers already sent’ is closed to new replies.