Errors crashing site – wp_is_block_theme & Function _load_textdomain_just_in_time

This topic has 6 replies, 3 voices, and was last updated 1 weeks, 1 days ago ago by Andrew Mitchell

  • Avatar: Mike_Troubleshooting
    Mike_XStore
    Participant
    June 19, 2025 at 18:17

    Please see private comments, thank you.

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Mike_Troubleshooting
    Mike_XStore
    Participant
    June 19, 2025 at 19:03

    Access provided. We have a couple of identical sites in dev. If you make changes, please provide us details so we can make the changes on the other sites as well. Thank you!

    Please contact administrator
    for this information.
    Avatar: Alex Carter
    Alex Carter
    Support staff
    June 20, 2025 at 08:48

    Hello, Mike_XStore,

    Thank you for reaching out to us.

    We appreciate you bringing these notices to our attention. These messages are related to the order in which certain functions are being called in WordPress, and they typically appear when WP_DEBUG is enabled in your wp-config.php file. While they are not critical errors, they are useful for developers to ensure best practices are followed.

    To address the issues:

    1. wp_is_block_theme Notice:
    This notice indicates that the wp_is_block_theme() function is being called before the theme directory is fully registered. This usually happens if the function is used too early in the execution process, such as outside of a proper action hook. We recommend ensuring that any such function calls are placed within the after_setup_theme or init action hooks.

    2. _load_textdomain_just_in_time Notice:
    This message suggests that the translation domain for the XStore Core plugin is being loaded too early. To resolve this, please make sure that the load_plugin_textdomain() function is called within the init hook or later, not during plugin initialization.

    We are actively working to ensure full compatibility with the latest WordPress versions and will include necessary adjustments in upcoming updates. In the meantime, if you are not actively debugging, you may choose to disable WP_DEBUG in your wp-config.php file to prevent these notices from displaying on the front end:

    Please open your wp-config.php file and set:

    define( 'WP_DEBUG', false );

    This will hide the notices from public view while we continue to refine the theme and plugin code.

    Should you need further assistance or have any additional questions, please don’t hesitate to let us know.

    Best Regards,
    The 8Theme Team

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 24, 2025 at 08:06

    Hello, Mike_XStore,

    We are pleased to inform you that we have released a major update which includes a fix for this issue. Kindly update the theme to version 9.5 and the core plugin to version 5.5.

    Best regards,
    The 8Theme Team

    Avatar: Mike_Troubleshooting
    Mike_XStore
    Participant
    June 24, 2025 at 16:02

    Thank you, we will update today and we’ll let you know if we encounter any issues.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 26, 2025 at 07:06

    Thank you, and we look forward to your response.

    Best regards,
    8Theme’s Team

  • Viewing 6 results - 1 through 6 (of 6 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.