Title: Error: Function was called incorrectly
Last modified: February 12, 2025

---

# Error: Function was called incorrectly

 *  Resolved [hegenberg](https://wordpress.org/support/users/hegenberg/)
 * (@hegenberg)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/error-function-was-called-incorrectly/)
 * After update to WordPress 6.7 we’re seeing this error:
 * `**Notice**: Function _load_textdomain_just_in_time was called **incorrectly**.
   Translation loading for the wp-whatsapp-chat 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.)`
 * I found some information [here](https://core.trac.wordpress.org/ticket/62175#comment:7):
 * > This is a new change in 6.7 to inform plugins if they are doing things wrong.
   > It is not a bug in WordPress. You can point affected plugins to [https://make.wordpress.org/core/2024/10/21/i18n-improvements-6-7/](https://make.wordpress.org/core/2024/10/21/i18n-improvements-6-7/)
   > Most plugins are already working on a fix on their end.
    -  This topic was modified 1 year, 3 months ago by [hegenberg](https://wordpress.org/support/users/hegenberg/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-function-was-called-incorrectly%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [jmatiasmastro](https://wordpress.org/support/users/jmatiasmastro/)
 * (@jmatiasmastro)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/error-function-was-called-incorrectly/#post-18316164)
 * [@hegenberg](https://wordpress.org/support/users/hegenberg/) Hi mate, could you
   please tell us which version of our plugin (free and/or pro) you are using?
   Best
   regards.

Viewing 1 replies (of 1 total)

The topic ‘Error: Function was called incorrectly’ is closed to new replies.

 * ![](https://ps.w.org/wp-whatsapp-chat/assets/icon-256x256.jpg?rev=3159330)
 * [Social Chat - Click To Chat App Button](https://wordpress.org/plugins/wp-whatsapp-chat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-whatsapp-chat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-whatsapp-chat/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-whatsapp-chat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-whatsapp-chat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-whatsapp-chat/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jmatiasmastro](https://wordpress.org/support/users/jmatiasmastro/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/error-function-was-called-incorrectly/#post-18316164)
 * Status: resolved