• Mati

    (@mattheus)


    [23-Dec-2024 20:39:20 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the health-check 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 /public_html/wp-includes/functions.php on line 6114

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator threadi

    (@threadi)

    There is already a ticket for this here: https://github.com/WordPress/health-check/issues/477 – and as far as I know, the developers are already working on it.

    Thread Starter Mati

    (@mattheus)

    Hi @threadi ,

    Thank you for your response. I’ve observed similar notices with other plugins, including:
    β€’ WooSidebars
    β€’ WPCF7 Redirect
    β€’ Post SMTP
    β€’ Health Check & Troubleshooting
    β€’ Mollie Payments for WooCommerce
    β€’ WooCommerce

    This suggests that the issue might be related to how translations are being triggered before the init action. Please let me know if you need more details from my side.

    Moderator threadi

    (@threadi)

    Yes, other plugins whose developers do not adhere to the guidelines that were discussed in the middle of the year and published here also have this problem: https://make.wordpress.org/core/2024/10/21/i18n-improvements-6-7/

    To find a solution for this plugins, you would have to contact the support or developer of the plugin where you also noticed this. They will have to adapt their plugin accordingly.

    If you see the output in your browser, I would recommend deactivating the output of PHP messages in the hosting. Then you will no longer see them there but only in the log file.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘debug PHP Notice’ is closed to new replies.