• Resolved JCV

    (@psykonevro)


    Hi,

    With the new WP 6.7 a PHP notice is thrown if load_plugin_textdomain() is not loaded in “init” hook:

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the limit-login-attempts-reloaded 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 6099

    Could you fix it? Thanks!

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • at least 20% of my sites are have this problem as well since the 6.7 update

    Thread Starter JCV

    (@psykonevro)

    I’ve been reporting to all plugin/theme makers I could ??

    To get a temporary solution you can do as follows:

    Add to the Function.PHP file the following
    // Enable WP_DEBUG mode
    define( ‘WP_DEBUG’, true );
    // Enable Debug logging to the /wp-content/debug.log file
    define( ‘WP_DEBUG_LOG’, true );
    // Disable display of errors and warnings
    define( ‘WP_DEBUG_DISPLAY’, false );
    @ini_set( ‘display_errors’, 0 );

    This will write all the errors to a log file and they will no longer be displayed on the screen.
    it might be that there is a: define( ‘WP_DEBUG’, true ); could be found in the WP_Config.PHP you have to set this to False.

    If all the plugins are updated you could change everything back to the previous state.

    Thread Starter JCV

    (@psykonevro)

    Thanks, I’m using a development environment ?? Just reporting the issue.

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @psykonevro,

    Thanks for reporting the notice, and thank you @mrdumont and @polfre for the details shared.

    From this core ticket, it seems the issue is affecting multiple plugins.

    Regarding WPForms Lite, it seems the issue doesn’t occur with some languages, like American English, but does appear with others, such as German.

    A report has been created to notify our development team about this issue. I’ll reach back out as soon as we have more details.

    Thanks!

    Thread Starter JCV

    (@psykonevro)

    Thanks @rsouzaam!

    For the records, I’m using an English (UK) WordPress install, with Polylang plugin in French (but deactivating Polylang doesn’t change anything about the notice).

    Cheers,

    This is the case for the Ukrainian language also! Thank you @psykonevro for bringing up the topic and @rsouzaam for looking into it!

    @rsouzaam

    From this core ticket, it seems the issue is affecting multiple plugins.

    Sadly, that’s the ticket that introduced the problem, the so-called fix for which was included in 6.7. But it does affect multiple plugins, including WordPress’s own JetPack.

    Thread Starter JCV

    (@psykonevro)

    For the record: Wpforms Lite issue introduces also a similar notice for OceanWP users.
    For those using both wpforms and oceanwp, they get two notices; the issue is related to wpforms, not to oceanwp, they checked their plugin.

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @psykonevro and everyone,

    I wanted to share some good news!

    We’ve released WPForms 1.9.2.2, which includes a fix for the issue related to the _load_textdomain_just_in_time function. For your reference, I recorded this screencast.

    If you’d like to check out the details, here’s our changelog.

    If you have any questions about this new version, please let me know. I’m here to help!

    Thread Starter JCV

    (@psykonevro)

    @rsouzaam thanks for sharing the good news. Indeed, latest release fixed the notice.
    Thanks guys for your work, much appreciated!

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @psykonevro,

    I’m glad to hear that the new version fixed the notice.

    If you’d like any assistance with using WPForms Lite, please feel free to reach out. We’re here to help!

    Thanks!

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