• Resolved bafna

    (@bafna)


    i get this error in my error_log alot please fix it , thanks

    [28-Dec-2024 08:09:31 UTC] PHP Fatal error: Uncaught ValueError: Missing format specifier at end of string in /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php:449
    Stack trace: 0 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php(449): sprintf() 1 [internal function]: RankMath\Frontend\Breadcrumbs->add_crumbs_author() 2 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php(230): call_user_func() 3 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php(173): RankMath\Frontend\Breadcrumbs->generate() 4 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-breadcrumbs.php(34): RankMath\Frontend\Breadcrumbs->get_crumbs() 5 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php(247): RankMath\Schema\Breadcrumbs->process() 6 /home/site/public_html/wp-includes/class-wp-hook.php(326): RankMath\Schema\JsonLD->add_context_data() 7 /home/site/public_html/wp-includes/plugin.php(256): WP_Hook->apply_filters() 8 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(106): apply_filters_ref_array() 9 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php(149): RankMath\Schema\JsonLD->do_filter() 10 /home/site/public_html/wp-includes/class-wp-hook.php(324): RankMath\Schema\JsonLD->json_ld() 11 /home/site/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 12 /home/site/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() 13 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(90): do_action_ref_array() 14 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-head.php(180): RankMath\Frontend\Head->do_action() 15 /home/site/public_html/wp-includes/class-wp-hook.php(324): RankMath\Frontend\Head->head() 16 /home/site/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 17 /home/site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 18 /home/site/public_html/wp-includes/general-template.php(3064): do_action() 19 /home/site/public_html/wp-content/plugins/us-core/templates/header.php(15): wp_head() 20 /home/site/public_html/wp-content/plugins/us-core/functions/helpers.php(125): include(‘/home/site/…’) 21 /home/site/public_html/wp-content/themes/Impreza/header.php(12): us_load_template() 22 /home/site/public_html/wp-includes/template.php(810): require_once(‘/home/site/…’) 23 /home/site/public_html/wp-includes/template.php(745): load_template() 24 /home/site/public_html/wp-includes/general-template.php(48): locate_template() 25 /home/site/public_html/wp-content/plugins/us-core/templates/archive.php(7): get_header() 26 /home/site/public_html/wp-content/plugins/us-core/functions/helpers.php(125): include(‘/home/site/…’) 27 /home/site/public_html/wp-content/themes/Impreza/archive.php(12): us_load_template() 28 /home/site/public_html/wp-includes/template-loader.php(106): include(‘/home/site/…’) 29 /home/site/public_html/wp-blog-header.php(19): require_once(‘/home/site/…’) 30 /home/site/public_html/index.php(17): require(‘/home/site/…’) 31 {main}

    thrown in /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php on line 449

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bafna

    (@bafna)

    i just got it again ( i just updated to last version and its still there )

    [28-Dec-2024 09:02:51 UTC] PHP Fatal error: Uncaught ValueError: Missing format specifier at end of string in /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php:432
    Stack trace: 0 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php(432): sprintf() 1 [internal function]: RankMath\Frontend\Breadcrumbs->add_crumbs_date() 2 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php(231): call_user_func() 3 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php(174): RankMath\Frontend\Breadcrumbs->generate() 4 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-breadcrumbs.php(34): RankMath\Frontend\Breadcrumbs->get_crumbs() 5 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php(247): RankMath\Schema\Breadcrumbs->process() 6 /home/site/public_html/wp-includes/class-wp-hook.php(326): RankMath\Schema\JsonLD->add_context_data() 7 /home/site/public_html/wp-includes/plugin.php(256): WP_Hook->apply_filters() 8 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(106): apply_filters_ref_array() 9 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php(149): RankMath\Schema\JsonLD->do_filter() 10 /home/site/public_html/wp-includes/class-wp-hook.php(324): RankMath\Schema\JsonLD->json_ld() 11 /home/site/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 12 /home/site/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() 13 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(90): do_action_ref_array() 14 /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-head.php(180): RankMath\Frontend\Head->do_action() 15 /home/site/public_html/wp-includes/class-wp-hook.php(324): RankMath\Frontend\Head->head() 16 /home/site/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 17 /home/site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 18 /home/site/public_html/wp-includes/general-template.php(3064): do_action() 19 /home/site/public_html/wp-content/plugins/us-core/templates/header.php(15): wp_head() 20 /home/site/public_html/wp-content/plugins/us-core/functions/helpers.php(125): include(‘/home/site/…’) 21 /home/site/public_html/wp-content/themes/Impreza/header.php(12): us_load_template() 22 /home/site/public_html/wp-includes/template.php(810): require_once(‘/home/site/…’) 23 /home/site/public_html/wp-includes/template.php(745): load_template() 24 /home/site/public_html/wp-includes/general-template.php(48): locate_template() 25 /home/site/public_html/wp-content/plugins/us-core/templates/archive.php(7): get_header() 26 /home/site/public_html/wp-content/plugins/us-core/functions/helpers.php(125): include(‘/home/site/…’) 27 /home/site/public_html/wp-content/themes/Impreza/archive.php(12): us_load_template() 28 /home/site/public_html/wp-includes/template-loader.php(106): include(‘/home/site/…’) 29 /home/site/public_html/wp-blog-header.php(19): require_once(‘/home/site/…’) 30 /home/site/public_html/index.php(17): require(‘/home/site/…’) 31 {main}

    thrown in /home/site/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php on line 432

    Thread Starter bafna

    (@bafna)

    i did change the setting in wp-admin/admin.php?page=rank-math-options-general
    and its seems it fixed , but if it goes auto its better

    Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @bafna,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    The issue here is because of the invalid search result string that you set in our breadcrumbs settings.

    If the issue happens again, you can set it to the default format by navigating to WordPress Dashboard > Rank Math > General Settings > Breadcrumbs and change the “Search Results Format” to: Search for %s

    Once done, clear your website’s cache and see if that fixes the issue.

    Hope that helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.