Translation Loading Warning for xstore-core – _load_textdomain_just_in_time Called Too Early

This topic has 15 replies, 3 voices, and was last updated 4 days, 20 hours ago ago by Alex Carter

  • Avatar: Benz
    Benz
    Participant
    June 4, 2025 at 18:52

    I’m encountering the following warning message on my website:`\

    notice2025-06-05 00:30:45
    Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the <code>xstore-core</code> 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 <code>init</code> action or later. Please see https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/ for more information. (This message was added in version 6.7.0.) in /home/customer/www/velagems.com/public_html/wp-includes/functions.php on line 6121
    

    Could you please advise on how to resolve this issue? It appears that the translation domain xstore-core is being loaded earlier than recommended by WordPress best practices.

    Thank you in advance for your assistance.

    Please, contact administrator
    for this information.
    14 Answers
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 5, 2025 at 14:20

    Hello, Benz,

    Unfortunately, the FTP credentials you provided are not working. Additionally, we kindly ask you to specify the page where the mentioned error is being displayed.

    Best regards,
    8Theme Team

    Avatar: Benz
    Benz
    Participant
    June 5, 2025 at 14:48

    It’s in the debug log.

    here is the update FTP credentials

    Content is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 5, 2025 at 16:05

    Thank you for providing access.

    We have made changes to the following file:

    wp-content/themes/xstore/framework/features/woocommerce/account.php

    Kindly check if the issue has been resolved.

    Best regards,
    The 8Theme Team

    Avatar: Benz
    Benz
    Participant
    June 5, 2025 at 18:48

    Thank you for your update.

    It still shows in the Debug log.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 6, 2025 at 08:36

    Hello, Benz,

    We have noticed that the errors in the log now refer to the plugin rather than the theme. At the moment, we are preparing an update that should resolve many of these issues. In the meantime, we kindly ask you to install the archive containing the necessary fixes. A link to the archive will be provided in the private content section.

    Best regards,
    The 8Theme Team

    Content is visible for topic creator and
    support staff only.
    Avatar: Benz
    Benz
    Participant
    June 9, 2025 at 18:46

    Hello Andrew,

    Thank you for your support and the provided archive.

    I’ve installed the archive as instructed, but unfortunately, after installation, I encountered some issues on the single product page. Specifically:

    The product swatches were no longer responsive when clicked.

    The product description tab failed to display the full product description (it only showed the tab title without content).

    Due to these issues, I decided to revert to my previous backup before the archive was installed to restore normal functionality.

    Please let me know if there is an alternative fix or when the updated version will be available that addresses these problems.

    Best regards,

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 10, 2025 at 13:14

    Hello, Benz,

    We kindly ask for your permission to install this archive on your website in order to investigate the issue related to the variable product. Additionally, we would appreciate it if you could provide us with a link to the specific product where the error occurs.

    Best regards,
    8Theme Team

    Avatar: Benz
    Benz
    Participant
    June 10, 2025 at 19:22

    Hello Andrew,

    Yes, you have my permission to install the archive and test it on the site.
    Once your investigation is complete, kindly revert the website back to the previous working version.

    Best regards,
    Benz Ongsuwan

    Content is visible for topic creator and
    support staff only.
    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 12, 2025 at 13:43

    Hello, Benz,

    Thank you for granting us access. We have completed the necessary checks and implemented the required changes. There should no longer be any errors. Kindly verify on your end at your earliest convenience.

    Best regards,
    The 8Theme Team

    Avatar: Benz
    Benz
    Participant
    June 12, 2025 at 19:52

    it’s now working.

    Thanks

    Avatar: Benz
    Benz
    Participant
    June 13, 2025 at 05:41

    still, the load text domain still exist in debug.log

    “[13-Jun-2025 04:32:00 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the xstore-core 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/velagems.com/public_html/wp-includes/functions.php on line 6121″

    Avatar: Alex Carter
    Alex Carter
    Support staff
    June 14, 2025 at 07:10

    Hello, Benz

    To ensure you get the best support, we’re escalating your request to another specialist from our team, who will take a closer look at the issue.

    They will update you as soon as possible, and we’ll make sure to keep you posted. If you have any additional details that might help, feel free to reply here.

    Thank you for your cooperation!

    Best Regards,
    The 8Theme Team

    Avatar: Benz
    Benz
    Participant
    June 14, 2025 at 07:13

    Dear Andrew,

    The problem is fixed after i activate the new xstore core plug-in you installed

    Thanks.

    Avatar: Alex Carter
    Alex Carter
    Support staff
    June 14, 2025 at 07:16

    Hello,

    Thank you for your message.

    We’re glad to hear that the issue has been resolved after activating the new XStore Core plugin. Should you need any further assistance or have additional questions, please don’t hesitate to reach out.

    Best Regards,
    8Theme’s Team

  • Viewing 15 results - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.