• Resolved Johan WALTER

    (@johan_walter)


    Hi

    After update WordPress 6.7.1, notice message displayed (in debug mode)

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce-product-tabs 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 /wp-includes/functions.php on line 6114

    This message was not with WordPress 6.7

    Regards

    Johan

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Barn2 Plugin Support

    (@barn2pluginsupport)

    Hi, Johan. (@johan_walter).

    Thanks for getting in touch! We are aware of the translations issue you’re experiencing with WooCommerce Product Tabs, which occurred after updating to WordPress 6.7, and appears to persist in WordPress 6.7.1.

    For info, translations are broken in WordPress core itself right now, and this affects numerous plugins other than our own. This is due to what’s mentioned at https://make.ww.wp.xz.cn/core/2024/11/19/wordpress-6-7-1-release-schedule/ :

    Translations not being applied properly (#62337)

    You are correct – Translations worked prior to WordPress 6.7. Our suggestions in the meantime are to:

    • Roll back to WordPress 6.6.2 and wait. The easiest way to do this is to restore the backup/version of your website prior to updating to WordPress 6.7. Otherwise, I suggest that you get in touch with your website’s web hosting provider, who can assist you with this best.
    • Manually copy translations.

    If you’re familiar with the steps, or have a developer who can perform them for you, our developers have provided the following example:

    Let’s take WPO for example and assume the site is using Spanish as language.

    • Navigate to wp-content/plugins/woocommerce-product-options/languages/
    • Copy the the 2 files that end with the suffix es_ES . They have different extensions – .mo and .po
    • Navigate to wp-content/languages/plugins – create the folder if it doesn’t exist.
    • Paste the files.

    Once done, translations will start working again, but you may see notices/warnings. To disable this from being displayed, see: https://developer.woocommerce.com/2024/11/11/developer-advisory-translation-loading-changes-in-wordpress-6-7/

    I hope this makes sense and helps. Please let me know how it goes, and if you have any questions.

    Best regards,
    Edge

    Thread Starter Johan WALTER

    (@johan_walter)

    Hi @barn2pluginsupport

    I haven’t updated yet our prod website, I am following and testing on stagging website until I found update stable

    I already use folder wp-content/languages/plugins for all translations

    Do you mean that having all files in wp-content/languages/plugins prevent any translation;issues?

    Plugin Support Barn2 Plugin Support

    (@barn2pluginsupport)

    Hi, Johan (@johan_walter).

    Thanks for your reply. Yes, manually copying a plugin’s .mo and .po translation files to /wp-content/languages/plugins should allow its translations to work.

    You will also need to disable the notices/warnings as mentioned.

    Best regards,
    Edge

    Plugin Support Barn2 Plugin Support

    (@barn2pluginsupport)

    Hi, Johan (@johan_walter).

    Thank you for your patience.

    The translations issue you reported experiencing is resolved in WordPress 6.7.1 and WooCommerce Product Tabs 2.1.8, which we released on Tuesday (26 November).

    In case you haven’t done so yet, please could you update both WordPress and the plugin to these versions on your website, and confirm whether doing so resolves the issue.

    After updating the plugin, please also remember to clear/delete/empty all/any caching that might be active;

    • On your website (i.e. via a caching plugin),
    • Its web server (i.e. via a server-based caching service such as Cloudflare),
    • And your browser (you can also review the issue via an incognito/private browser window that’s not cached – or use a different browser as an alternative; i.e. if you usually use Chrome to browse your site, then use Edge or Opera).

    Please let me know whether this resolves the issue, and if you have any questions.

    Many thanks!
    Edge

    Thread Starter Johan WALTER

    (@johan_walter)

    Hi @barn2pluginsupport

    I have updated plugin and it does solve issue

    Thanks

    Regards

    Johan

    Plugin Support Barn2 Plugin Support

    (@barn2pluginsupport)

    Hi, @johan_walter.

    Thanks for your feedback, and for confirming the issue as resolved. I’m glad we could help!

    Please let me know if there’s anything else that we may assist you with.

    ​If it isn’t too much trouble and if you haven’t done so yet, I’d love it if you would please be so kind as to add a review to https://ww.wp.xz.cn/support/plugin/woocommerce-product-tabs/reviews/.

    Best regards,
    Edge

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

The topic ‘WordPress 6.7.1 – Function _load_textdomain_just_in_time’ is closed to new replies.