• 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 6 replies - 1 through 6 (of 6 total)
  • Shahin

    (@skalanter)

    Hello @psykonevro,

    Thank you for reaching out,

    As stated in the notice message, the issue is related to a third-party plugin and is not associated with OceanWP. Also, it seems it is already resolved in this topic: https://www.ads-software.com/support/topic/function-_load_textdomain_just_in_time-was-called-incorrectly-3/ a week ago.

    If it persists, please get in touch with your third-party plugin.

    Thank you,
    Best Regards

    Thread Starter JCV

    (@psykonevro)

    Hi @skalanter
    The message I copied-pasted was the wrong one, sorry. I’ve been warning a lot a of plugin/theme makers lately, I confused some of them.

    However, I confirm that very same notice appears with WP 6.7. Here is the correct message:

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the oceanwp 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

    Thanks in advance

    Shahin

    (@skalanter)

    Hello @psykonevro,

    Thank you for reaching out,

    As far as the notice’s message shows, the translations should be loaded at the init action or later. We already did this. Please check this screenshot: https://postimg.cc/YjXMNSMC I’ve enabled all our plugins and none of them shows this notice, but I can see that notice in a plugin of which we are not the author.

    Kindly explain to us step by step how we can reproduce the issue so we can recreate it somewhere other than your website.

    Also, please provide us with your system environment information. To do this, please go to WP Dashboard > Tools > Site Health > Info Tab and click on the button Copy site info to clipboard. You can send the information as code here or upload them to https://pastebin.com/ or https://gist.github.com/ and get an exclusive link: https://i.postimg.cc/fbjtkFyJ/image.png (you can remove your email address from the content).

    Please keep us posted,
    Thank you
    Best Regards

    Shahin

    (@skalanter)

    Thread Starter JCV

    (@psykonevro)

    Thanks @skalanter

    I debugged on my own a bit, and found out that when I activate wpforms lite plugin, a notice regarding that very plugin and oceanwp is thrown.

    I’m gonna investigate first with wpforms-lite plugin makers. Will get back to you should I find an issue related to OceanWP.

    Thanks! Closing for now.

    Hi @psykonevro,

    I’m glad that you were able to find that.
    Please don’t hesitate to contact us if there is anything else we can help you with.

    Best Regards

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