PHP Notice: _load_textdomain_just_in_time called too early – WordPress 6.7

#1016371
  • Hello,

    After updating to WordPress 6.7.0, I started getting repeated PHP notices in my error logs related to the Rank Math SEO plugin. Here is the notice:

    [18-Apr-2025 XX:XX:XX UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ‘rank-math’ domain was triggered too early. This is usually an indicator that some code in the plugin is running before the init action. Translations should be loaded at the init action or later. This message was added in version 6.7.0.

    It appears to be coming from the line where load_plugin_textdomain() is called before the init hook.

    Can you please confirm if this will be fixed in a future version? Or is there a recommended workaround?

    Thank you!

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    We already fixed this issue in a previous version of the Rank Math plugin. Please make sure you’re using the latest version of the Rank Math plugin on your website: https://rankmath.com/changelog/free/

    Let us know how it goes. Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘PHP Notice: _load_textdomain_just_in_time called too early – WordPress 6.7’ is closed to new replies.