PHP Fatal error: Uncaught ErrorException: Cannot modify header information
-
Hi, we’ve been receiving the following error in our server logs with the latest update. I’ve sent litespeed report number: SGKESCDN
Is there any advice on resolving the error?
[24-Mar-2025 07:44:49 UTC] PHP Fatal error: Uncaught ErrorException: Cannot modify header information – headers already sent by (output started at __mnx_runtime:1) in /home3/domains/abc.com/public_html/wp-content/plugins/litespeed-cache/src/optimize.cls.php:657
Stack trace: 0 [internal function]: MNXSecRASPModules->{closure}() 1 /home3/domains/abc.com/public_html/wp-content/plugins/litespeed-cache/src/optimize.cls.php(657): header() 2 /home3/domains/abc.com/public_html/wp-content/plugins/litespeed-cache/src/optimize.cls.php(135): LiteSpeed\Optimize->_dns_prefetch_init() 3 /home3/domains/abc.com/public_html/wp-content/plugins/litespeed-cache/src/core.cls.php(288): LiteSpeed\Optimize->init() 4 /home3/domains/abc.com/public_html/wp-includes/class-wp-hook.php(324): LiteSpeed\Core->after_user_init() 5 /home3/domains/abc.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 6 /home3/domains/abc.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 7 /home3/domains/abc.com/public_html/wp-settings.php(704): do_action() 8 /home3/domains/abc.com/public_html/wp-config.php(58): require_once(‘/home3/…’) 9 /home3/domains/abc.com/public_html/wp-load.php(50): require_once(‘/home3/…’) 10 /home3/domains/abc.com/public_html/wp-blog-header.php(13): require_once(‘/home3/…’) 11 /home3/domains/abc.com/public_html/index.php(17): require(‘/home3/…’) 12 {main}
The topic ‘PHP Fatal error: Uncaught ErrorException: Cannot modify header information’ is closed to new replies.