Warning: Cannot modify header information – headers already sent Issue

Every time I delete a post that has a comment I get the following warning below. I have already deactivated every plugin except for Speed Optimizer and switched to the basic 2024 theme. I still get the warning.

Warning: Attempt to read property “comment_post_ID” on null in /home/customer/www/domain.com/public_html/wp-content/plugins/sg-cachepress/core/Supercacher/Supercacher_Comments.php on line 34

Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/domain.com/public_html/wp-content/plugins/sg-cachepress/core/Supercacher/Supercacher_Comments.php:34) in /home/customer/www/domain.com/public_html/wp-includes/pluggable.php on line 1435

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer