• Resolved danielspain

    (@danielspain)


    Hi, as always, thanks for your excellent plugin and support! I’m testing my site with the upcoming wp 6.7 that will be released next week, but i’ve see the following error/notice filling my logs coming form your plugin:

    [03-Nov-2024 02:36:56 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-security-audit-log 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/local/mysite.org/wp-includes/functions.php on line 6087

    I’ve tested that it is also present with default them and deactivating all other plugins. I thinks It’s related to:

    https://core.trac.www.ads-software.com/ticket/62154

    and many plugins authors are fixing their code to get rid of it….could you take a look?(the only way to that i could do is not registering any logs, which is very problematic…) Thanks in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter danielspain

    (@danielspain)

    One thing missing in my previous note: put your site in Spanish(probably also in every non-english site) to see the notice that grows non stop on every hit of the site. Thanks in advance

    Plugin Support Lucian Padureanu

    (@lucianwpwhite)

    Hello Daniel,

    Thank you for your patience and for bringing this into our attention.

    I’m happy to confirm that we’ve successfully reproduced and addressed the issue you reported. This fix will be included in our upcoming maintenance update, which should be released soon. Once it’s available, please go ahead and update the plugin, where everything should work smoothly.

    If you have any other questions or need further assistance, feel free to reach out!

    Thread Starter danielspain

    (@danielspain)

    Thanks for the quick answer, and good to know you were able to reproduce it…do you know if the maintenance update will be released before wp6.7 next tuesday? And thanks again for the excellent plugin, it makes the life easier for the sysadmins!

    Plugin Support robertabela

    (@robert681)

    Hello @danielspain

    We can confirm that it will be released next week, but we cannot promise that it will be before Tuesday, sorry.

    By the way, we are glad to read that you like the plugin. Please do not forget to spare a minute to rate our plugin and support. These ratings are really helpful.

    Thank you and have a good weekend.

    Plugin Support robertabela

    (@robert681)

    Hello @danielspain

    We have just released update 5.2.2 which includes a fix for the problem you reported. Please update your install to fix the issue.

    Should you have any other questions, do not hesitate to ask.

    Have a great day and thank you for using our plugin. Please spare a minute to rate our plugin and support. We would really appreciate it. Thanks!

    Thread Starter danielspain

    (@danielspain)

    Hi!, thanks for the fix, bit it didn’t worked, the php notice still appears, using language spanish, php 8.1:

    [12-Nov-2024 14:00:20 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-security-audit-log 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/local/mysite.org/wp-includes/functions.php on line 6114

    I’ve mitigated the same problem until the problem is solved with woocommerce 9.4(the release compatible with wp 6.7) by adding a code snippet:

    add_filter( ‘doing_it_wrong_trigger_error’, ‘__return_false’ );

    That works perfectly with woocomerce, but if you plugin is active, the php notice comes again for both plugins! Tried wp 6.7 rc5 and woo 9.4 and wpal 5.5.2…

    If i try the code snippet rolling back to wpal 5.5.0, it works and no php notice(for both plugins) is saved in logs..any help is appreciated!! Thanks in advance!

    any help is appreciated!!

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