Cannot modify header information - headers already sent by (output started at /var/www/html/vendor/magento/framework/App/Response/Http/FileFactory.php:104)
There seems to be a bug using the WeltPixel Google Analytics 4 Module with Magento 2.4.5 and onwards. When returning a filestream using the Magento\Framework\App\Response\Http\FileFactory.
We get 'Cannot modify header information - headers already sent'.
In Magento\Framework\App\Response\Http\FileFactory the headers are sent and then the plugin WeltPixel\GA4\Plugin\CookieManagement tries to alter the headers which result in an exception.
-
Official comment
Make sure you installed the last version 1.12.7 and check again. Don't forget to follow this user guide after you update the module if you didn't: https://support.weltpixel.com/hc/en-us/articles/11489725090962-Reimporting-a-Google-Tag-Manager-container-Merge-and-Overwrite-Conflicting-Tags-Triggers-and-Variables
Comment actions -
If you believe you've found a bug in the extension, we're more than happy to look into that! Please open up a ticket with our Support Team here: https://support.weltpixel.com/hc/en-us. Make sure you include all the details, including the following so our team can properly assist:
- Description of the expected behavior
- Description of the actual behavior (with screenshots/screen recordings, if possible)
- Steps to take in order to reproduce the behavior on a clean Magento instance
Please sign in to leave a comment.
Comments
3 comments