• Resolved Diiamo

    (@luislu)


    Hi,

    If I activate the “React Settings UI function”, the setting page displays incorrectly. So I deactivate it, and come across a fatal error:

    Error Details

    =============

    An error of type E_ERROR was caused in line 304 of the file /www/wwwroot/tp6r8.xxx.com/wp-content/plugins/seo-by-rank-math/includes/settings/titles/post-types.php. Error message: Uncaught ValueError: Unknown format specifier "梠in /www/wwwroot/tp6r8.xxx.com/wp-content/plugins/seo-by-rank-math/includes/settings/titles/post-types.php:304

    Stack trace:

    #0 /www/wwwroot/tp6r8.xxx.com/wp-content/plugins/seo-by-rank-math/includes/settings/titles/post-types.php(304): sprintf()

    #1 /www/wwwroot/tp6r8.xxx.com/wp-content/plugins/seo-by-rank-math/includes/admin/class-cmb2-options.php(180): include('...')

    #2 /www/wwwroot/tp6r8.xxx.com/wp-includes/class-wp-hook.php(324): RankMath\Admin\CMB2_Options->register_option_page()

    #3 /www/wwwroot/tp6r8.xxx.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()

    #4 /www/wwwroot/tp6r8.xxx.com/wp-includes/plugin.php(517): WP_Hook->do_action()

    #5 /www/wwwroot/tp6r8.xxx.com/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/bootstrap.php(26): do_action()

    #6 /www/wwwroot/tp6r8.xxx.com/wp-content/plugins/seo-by-rank-math/vendor/cmb2/cmb2/init.php(165): cmb2_bootstrap()

    #7 /www/wwwroot/tp6r8.xxx.com/wp-includes/class-wp-hook.php(324): CMB2_Bootstrap_2110->include_cmb()

    #8 /www/wwwroot/tp6r8.xxx.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()

    #9 /www/wwwroot/tp6r8.xxx.com/wp-includes/plugin.php(517): WP_Hook->do_action()

    #10 /www/wwwroot/tp6r8.xxx.com/wp-settings.php(727): do_action()

    #11 /www/wwwroot/tp6r8.xxx.com/wp-config.php(109): require_once('...')

    #12 /www/wwwroot/tp6r8.xxx.com/wp-load.php(50): require_once('...')

    #13 /www/wwwroot/tp6r8.xxx.com/wp-admin/admin.php(35): require_once('...')

    #14 {main}

      thrown
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Jaideep Asrani

    (@jaideeprm)

    Hello @luislu,

    Thank you for contacting Rank Math support.

    From your other topic, we noticed that you’ve used Loco Translate to translate our plugin. It looks like some placeholders, such as %s or %1$s, were also translated in the .po file. Please note that these placeholders should not be translated or modified; they need to remain exactly as they are.

    We recommend editing your translation file and correcting the affected strings by keeping the placeholders intact. For example, %1$s must stay %1$s in the translation.

    Once you’ve updated the file, please clear your cache and check again.

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

    Thread Starter Diiamo

    (@luislu)

    I deleted all the extra translation files and now it’s back to normal. Expect the official version of Chinese translation to go online as soon as possible.

    Plugin Support Jaideep Asrani

    (@jaideeprm)

    Hello @luislu,

    We are super happy that this resolved your issue.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The topic ‘React Settings UI issue’ is closed to new replies.