Stape Wordpress plugin Cannot modify header information

Hi, i am using the stape wordpress plugin and getting the following error repeatedly in my error log file:

PHP Warning: PHP Warning: Cannot modify header information - headers already sent in /home/xxxxx/public_html/wp-content/plugins/gtm-server-side/includes/class-gtm-server-side-helpers.php on line 300

Line 300 is setcookie(

Is there a way to fix this? I am getting the same error on all my sites using the stape plugin. Thanks.

It sounds like some kind of localised problem you’re having. Can you provide screenshots of the problem?
What happens when you activate the plugin and add GTM, does it show up on your site?
Does the data layer work for you?
Perhaps you have some rules or other plugins that interact with the header?