Alert error in all pages after update to wordpress 6.7.1

#917264
  • Resolved Marco
    Rank Math free

    Hi,
    my website has been update automatically to WordPress 6.7.1 and something wrong is happen with RankMath plugin because all pages show now this alert:

    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.

    I had to disactivated the plugin just to hidden the alert but I need rankmath so please help me to find a solution.
    I have already download the Easy Updates Manager plugin to Disable next Automatic Updates in WordPress but now I have to solve this problem.

    Waiting for your reply,
    Thank you!

    Marco

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

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

    WordPress v6.7 has changed how translations are loaded, which resulted in the warning notice you are seeing.

    This is something that our team is aware of and our developers are currently working on a solution and will share an update soon. We will also inform you when there is an update that resolves the issue. We recommend keeping an eye on our changelog to see when this gets released: https://rankmath.com/changelog

    In the meantime, you can disable this notice by adding the following filter code to the rank-math.php file.

    add_filter( 'doing_it_wrong_trigger_error', '__return_false' );
    

    Here’s how you can add the filter to your site: https://rankmath.com/kb/wordpress-hooks-actions-filters/#rank-math-php-file

    Alternatively, you can set the WP_DEBUG_DISPLAY and WP_DEBUG_LOG constants to false in the wp-config.php file.

    We hope that helps.

    Thank you.

    Marco
    Rank Math free

    Thank you very much Adetayo for your prompt reply,
    I inserted the code as you suggest me and it’s work.. now I’ll wait for your update.
    Thank you again,
    Marco

    Hello,

    We are glad to hear that this issue has been resolved. Thank you for letting us know. This ticket will be closed now, but you can always open a new one if you have any other questions or concerns. We are here to help you with anything related to Rank Math.

    We appreciate your patience and cooperation throughout this process.

    Thank you for choosing Rank Math.

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

The ticket ‘Alert error in all pages after update to wordpress 6.7.1’ is closed to new replies.