• Luckily, I’m only seeing this error on my testing site so far.

    What is happening is that the PHP Notice: Function _load_textdomain_just_in_time was called incorrectly error is blocking a number of my plugins from loading. eg: Yoast, Jetpack, Rollback and Astra Pro plugin. I just get a blank page.

    I’ve tried the usual of deactivating all plugins and changing to a default theme, but it didin’t help me find the cause.

    From what I can see from my debug log, it appears to be an issue with translation and language.

    The error notes: Translation loading for the astra-addon domain was triggered too early.

    So I checked the site and user language, and both are set correctly to US English.

    This leads me to think it may be an issue with WordPress 6.7 and now 6.7.1.

    Has anyone got an idea how to fix this error?

Viewing 8 replies - 1 through 8 (of 8 total)
  • These PHP notices appear because some of your plugins are not compatible with changes in WordPress 6.7.x. To solve this you can:

    • Install all pending updates. The plugin developers may have already provided a fix.
    • Disable the output of PHP notices. This either happens because your WordPress is running in debug mode OR your hosting is outputting PHP errors.
    • Or downgrade to WordPress 6.2.2 and then wait some time until you go back to 6.7.x until the plugin developers have caught up.
    • Or simply wait until the plugin developers make changes in this regard.

    See also the information from the core developers about the upcoming changes from a few weeks ago: https://make.www.ads-software.com/core/2024/10/21/i18n-improvements-6-7/

    Thread Starter bobsled

    (@bobsled)

    Okay, thanks for your quick response. All my plugins and themes are up to date, and WordPress has updated to 6.7.1.

    But it is strange that this issue is only affectiing one of my sites All the others are fine.

    As I said, its only on my testing site, so it’s not a tragedy. But I would like to find out why it is happening.

    Is there anything further I can do?

    As described in point 2, it may be due to the PHP messages that are activated. This can vary from project to project. So first check whether the debug mode is activated, see: https://www.ads-software.com/documentation/article/debugging-in-wordpress/

    If it is not, at least PHP messages are activated in the hosting. In this case, you should contact your hoster’s support.

    Thread Starter bobsled

    (@bobsled)

    Okay, thanks. I’ll investigate that tomorrow.

    Thread Starter bobsled

    (@bobsled)

    I had a few minutes, so I checked the debug option.

    Debug was activated on the site, so I disabled it. define(‘WP_DEBUG’, false);

    Also, no PHP warnings on my hosting sever logs.

    Cleared all caches.

    No change. The same plugins still won’t load.

    Not sure where to go from here.

    @bobsled could you please create a ticket on Trac with as many relevant details about your set up as possible so that this can be investigated? Thanks in advance!

    Thread Starter bobsled

    (@bobsled)

    Thanks for following up @desrosj

    I’ve opened support tickets with the two main plugins that won’t load. Once I get some feedback, I’ll have better information for a Trac ticket. So, I’ll hold off for now.

    Fabio

    (@reteinformatica)

    I have the same problem after upgrading to version 6.7. I had initially solved it, although sometimes the errors would come out but sporadically, by setting the backfront to English instead of Italian which is my language.
    After the 6.7.1 update everything got worse, error after error on both the backfront and the site.
    In my site there isn’t Woocommerce: https://todabe.it/

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

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

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

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

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

    Warning: Cannot modify header information – headers already sent by (output started at /xxx/xxx/public_html/wp-includes/functions.php:6114) in /xxx/xxx/public_html/wp-admin/includes/misc.php on line 1438

    Warning: Cannot modify header information – headers already sent by (output started at /xxx/xxx/public_html/wp-includes/functions.php:6114) in /xxx/xxx/public_html/wp-includes/functions.php on line 7137

    Deprecated: Calling get_class() without arguments is deprecated in /xxx/xxx/public_html/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Http/REST.php on line 49

    Warning: Cannot modify header information – headers already sent by (output started at /xxx/xxx/public_html/wp-includes/functions.php:6114) in /xxx/xxx/public_html/wp-admin/admin-header.php on line 9

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