Hi,
I’m using PRO theme and I decided to add a sidebar to homepage so in editor changed it “Content Left, Sidebar Right” but got this error :
I see this alert only on page templates with sidebar.
Then I checked Error Log and found these lines :
[16-Mar-2021 03:56:20 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/sitename/wp-content/themes/pro/cornerstone/includes/classes/common/class-locator.php:1) in /home/xxx/public_html/sitename/wp-includes/rest-api/class-wp-rest-server.php on line 1642
[16-Mar-2021 03:56:20 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/sitename/wp-content/themes/pro/cornerstone/includes/classes/common/class-locator.php:1) in /home/xxx/public_html/sitename/wp-includes/rest-api.php on line 675
[16-Mar-2021 03:56:20 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/sitename/wp-content/themes/pro/cornerstone/includes/classes/common/class-locator.php:1) in /home/xxx/public_html/sitename/wp-includes/rest-api.php on line 676
[16-Mar-2021 03:56:20 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/sitename/wp-content/themes/pro/cornerstone/includes/classes/common/class-locator.php:1) in /home/xxx/public_html/sitename/wp-includes/rest-api.php on line 677
[16-Mar-2021 03:56:20 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/sitename/wp-content/themes/pro/cornerstone/includes/classes/common/class-locator.php:1) in /home/xxx/public_html/sitename/wp-includes/rest-api.php on line 678
Is it related to some server settings?