• Hello team =) ,

    after WordPress 6.7 installation, many, many plug-ins give me the same, exact PHP error. Also Woocommerce:

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce 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 for more information. (This message was added in version 6.7.0.) in /home/customer/www/xxx.com/public_html/wp-includes/functions.php on line 6114

    Why? Can you fix it?

    Thank you so much!

    EDIT: if you switch to ENG language (second language) this error disappears . I use WPML as language plugin.

Viewing 15 replies - 1 through 15 (of 17 total)
  • did you update WPML with the release of yesterday? All wpml plugins? I am asking because i am waiting to update to wordpress 6.7 for this reason.
    if you can’t see the update go to new plugin and click on “commercial” and check updates.
    please let me know ??

    Check this to solve the problem via a code snippet:

    https://developer.woocommerce.com/2024/11/11/developer-advisory-translation-loading-changes-in-wordpress-6-7/

    but this bug has to be solved by woocommerce team:

    https://github.com/woocommerce/woocommerce/issues/52646

    To me this happens in my main language of the store, spanish. I hope wc team solve it cause the logs fill so easily with this notice…close this ticket when they find a permanent solution…not a quick fix….

    Same notice on my websites.
    I post here to be able to be notified of follow-up replies.

    Thread Starter scarpinoc

    (@scarpinoc)

    Yes, I update all the WPML plug-in to the last version, without luck. I’m using a staging website.

    So, if I understand correctly, each plug-in team has to fix the bug individually =/

    I suspect it’s not a WPML problem.

    Or am I wrong?

    Hi,

    It seems to be a general issue with WordPress updates. I was able to resolve it by switching the dashboard language to English (US), which made the issue disappear.

    Let me know if this helps you or others as well.

    Best regards,

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi folks,

    Did you already try the shared suggestions by @selma123 to see if this issue persists.

    It seems to be a general issue with WordPress updates. I was able to resolve it by switching the dashboard language to English (US), which made the issue disappear.

    If not, please try it and let us know how this goes.

    Cheers!

    Thread Starter scarpinoc

    (@scarpinoc)

    Also, WPML answered me:

    Our team is aware of these notifications; however, we could not determine if they are directly related to the WPML plugin.

    We recommend waiting for each plugin to address this notification. In the meantime, you can set the debug mode to false to prevent these notifications from being bothersome.

    https://wpml.org/forums/topic/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called-incorrectly-2/

    I’ve had the same issue as @scarpinoc (above). It seems that WP 6.7 has caused problems for hundreds of WP sites. (I manage several for clients). Apparently, @timwhitlock says he is writing a completely new loading helper. However, at the time of posting, that was 1 day and a few hours ago. My reply to this on another post seems to have been deleted.

    https://www.ads-software.com/support/topic/known-issues-with-wordpress-6-7/

    masouddarvishi1992

    (@masouddarvishi1992)

    i have this problem too. Unfortunately, the new WordPress update (6.7) has messed up many non-English sites!! Such a big bug from the WordPress developer community was strange.

    I have this problem too. All my multilingual websites are displayed in english instead of Greek which is the default language. What can be done? Any solutions?

    The proper fix will come when the author of the plugin or theme generating the error message releases a corrected version.

    Meanwhile, one way of suppressing the error messages is, as said earlier in this thread, to set the Language in WordPress Settings to English (US). If this isn’t convenient another option is to add the following line to wp-config.php in the main WordPress directory.

    define( ‘WP_DEBUG_DISPLAY’, false ); 

    The config file will probably already have the line below in it. I had mine set to True whereas the standard setting is false:

    define( ‘WP_DEBUG’, true );

    …so add the new line near it to keep related configuration parameters together.

    I must emphasise that this doesn’t fix the root cause of the problem but it does suppress the error messages on the screen.

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello kfberkshire,

    Thank you for your message here.
    Your contribution is appreciated.

    For everyone facing a similar issue, I suggest creating separate topics for efficient troubleshooting.
    This will help us keep the forum organized and adhere to the forum guidelines.

    Have a great day!

    Andrés Cifuentes

    (@andrescifuentesr)

    Hello everyone,

    This issue should have been already be resolved. Please update your WooCommerce version (9.4.1 or greater) and WPML package 4.6.14. You can find more information about it on this link.

    If you have updated both, WooCommerce and WPML, and still have issues related to WPML, please start a chat in our support forum.

    Thanks!

    dyin

    (@dyin)

    @andrescifuentesr strange as I asked the original thread starter if he updated and he said he did. Can you confirm it is safe to update?

    Andrés Cifuentes

    (@andrescifuentesr)

    Yes, @dyin, it is safe to update WPML package. If the issue remains unsolved after the updates, there is also the possibility that another third party may be involved or that WordPress 6.7.1 is needed.

    Anyway, our team is aware of this situation and we are investigating if there are other scenarios not covered yet.

Viewing 15 replies - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.