Title: Function _load_textdomain_just_in_time was called incorrectly
Last modified: November 22, 2024

---

# Function _load_textdomain_just_in_time was called incorrectly

 *  [T4ng](https://wordpress.org/support/users/schwipps/)
 * (@schwipps)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/function-_load_textdomain_just_in_time-was-called-incorrectly-40/)
 * Hi,
 * Since WordPress 6.7 update, GTM4WP generates the following 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 **/var/
   > www/[…]/wp-includes/functions.php** on line **6114**

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

 *  [Simon Blackbourn](https://wordpress.org/support/users/lumpysimon/)
 * (@lumpysimon)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/function-_load_textdomain_just_in_time-was-called-incorrectly-40/#post-18159076)
 * I’m seeing this too. It’s not causing any issues but would be good to fix it 
   so it’s not showing in Query Monitor and in the debug log.
 *  Thread Starter [T4ng](https://wordpress.org/support/users/schwipps/)
 * (@schwipps)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/function-_load_textdomain_just_in_time-was-called-incorrectly-40/#post-18159081)
 * There’s not been any update, nor even an answer to any support topics for months…
   I doubt this plugin is still under development :/
 *  [Simon Blackbourn](https://wordpress.org/support/users/lumpysimon/)
 * (@lumpysimon)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/function-_load_textdomain_just_in_time-was-called-incorrectly-40/#post-18159229)
 * Ah yes, I think you might be right. Just took a look through the support threads
   and it’s certainly looking that way…

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

The topic ‘Function _load_textdomain_just_in_time was called incorrectly’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Simon Blackbourn](https://wordpress.org/support/users/lumpysimon/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/function-_load_textdomain_just_in_time-was-called-incorrectly-40/#post-18159229)
 * Status: not resolved