Title: error trying to modify header
Last modified: April 16, 2025

---

# error trying to modify header

 *  [patrickhealy](https://wordpress.org/support/users/patrickhealy/)
 * (@patrickhealy)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/error-trying-to-modify-header/)
 * Getting these errors on the back end admin. They go away when I deactivate this
   plugin:
 * **Notice**: Function _load_textdomain_just_in_time was called **incorrectly**.
   Translation loading for the `duracelltomi-google-tag-manager` domain was triggered
   too early. This is usually an indicator for some code in the plugin or theme 
   running too early. Translations should be loaded at the `init` action or later.
   Please see [Debugging in WordPress](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/)
   for more information. (This message was added in version 6.7.0.) in **/home/yourwebsite/
   public_html/mainsite/wp-includes/functions.php** on line **6121**
 * **Warning**: Cannot modify header information – headers already sent by (output
   started at /home/yourwebsite/public_html/mainsite/wp-includes/functions.php:6121)
   in **/home/yourwebsite/public_html/mainsite/wp-includes/functions.php** on line**
   7168**
 * **Warning**: Cannot modify header information – headers already sent by (output
   started at /home/yourwebsite/public_html/mainsite/wp-includes/functions.php:6121)
   in **/home/yourwebsite/public_html/mainsite/wp-includes/functions.php** on line**
   7144**
 * **Warning**: Cannot modify header information – headers already sent by (output
   started at /home/yourwebsite/public_html/mainsite/wp-includes/functions.php:6121)
   in **/home/yourwebsite/public_html/mainsite/wp-admin/admin-header.php** on line**
   14**

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [patrickhealy](https://wordpress.org/support/users/patrickhealy/)
 * (@patrickhealy)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/error-trying-to-modify-header/#post-18424821)
 * anyone monitoring these?
 *  [pooltech](https://wordpress.org/support/users/pooltech/)
 * (@pooltech)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/error-trying-to-modify-header/#post-18438839)
 * Hi [@patrickhealy](https://wordpress.org/support/users/patrickhealy/).
 * Please see this thread on how to manually solve the issue: [Translations loaded incorrectly | WordPress.org](https://wordpress.org/support/topic/translations-loaded-incorrectly/)
 * We are all waiting for a plugin update.
 *  Thread Starter [patrickhealy](https://wordpress.org/support/users/patrickhealy/)
 * (@patrickhealy)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/error-trying-to-modify-header/#post-18444478)
 * [@pooltech](https://wordpress.org/support/users/pooltech/) good looking out.
 *  Plugin Author [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * (@duracelltomi)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/error-trying-to-modify-header/#post-18458255)
 * v1.21 released yesterday with a fix for this error message.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘error trying to modify header’ is closed to new replies.

 * ![](https://ps.w.org/duracelltomi-google-tag-manager/assets/icon-256x256.png?
   rev=1708451)
 * [GTM4WP - A Google Tag Manager (GTM) plugin for WordPress](https://wordpress.org/plugins/duracelltomi-google-tag-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duracelltomi-google-tag-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/error-trying-to-modify-header/#post-18458255)
 * Status: not resolved