-
Hello,
I am experiencing an issue on my website (https://identitatebrand.ro) related to the Rank Math plugin. When I activate the debugging options in the wp-config.php file by setting WP_DEBUG, WP_DEBUG_LOG, and WP_DEBUG_DISPLAY to true, I encounter the following error:
“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 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.”
Additionally, I also receive these warnings related to header modification:
“Warning: Cannot modify header information – headers already sent by (output started at /home2/identita/public_html/wp-includes/functions.php:6114) in /home2/identita/public_html/wp-includes/pluggable.php on line 1435”
“Warning: Cannot modify header information – headers already sent by (output started at /home2/identita/public_html/wp-includes/functions.php:6114) in /home2/identita/public_html/wp-includes/pluggable.php on line 1438”
From what I understand, the issue seems to be that the translation loading for Rank Math is being triggered too early, before the init action or a later stage in WordPress. This could be due to code execution happening prematurely in the plugin or theme.
I am using the Divi theme on my website, and I am wondering if there is a conflict or misconfiguration causing this issue. The header warnings appear to be a result of the translation loading issue.
Could you please assist me in resolving this problem? Any guidance on what might be causing the issue and how to fix it would be greatly appreciated.
Thank you for your help.
Best regards,
Laurentiu Pelin
The ticket ‘Issue with “_load_textdomain_just_in_time” Warning and Header Modificat’ is closed to new replies.