Issue with breadcrumbs in latest version of RankMath

#487258
  • Resolved David
    Rank Math free

    Plugin version 1.0.102.1

    The error log below is taken from WooCommerce Status Logs:

    2022-11-24T07:16:50+00:00 CRITICAL Uncaught ValueError: Missing padding character in /home/sites/8a/d/d3476d23d1/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php:273
    Stack trace:
    #0 /home/sites/8a/d/d3476d23d1/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php(273): sprintf(‘Search for ‘%”, ‘{search_term_st…’)
    #1 [internal function]: RankMath\Frontend\Breadcrumbs->add_crumbs_search()
    #2 /home/sites/8a/d/d3476d23d1/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php(231): call_user_func(Array)
    #3 /home/sites/8a/d/d3476d23d1/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php(174): RankMath\Frontend\Breadcrumbs->generate()
    #4 /home/sites/8a/d/d3476d23d1/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-breadcrumbs.php(34): RankMath\Frontend\Breadcrumbs->get_crumbs()
    #5 /home/sites/8a/d/d3476d23d1/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php(248): RankMath\Schema\Breadcrumbs->process(Array, Object(RankMath\Schema\JsonLD))
    #6 /home/sites/8a/d/d3476d23d1/public_html/wp-includes/class-wp-hook.php(310): RankMath\Schema\JsonLD->add_context_data(Array)
    #7 /home/sites/8a/d/d3476d23d1/public_html/wp-includes/plugin.php(256): WP_Hook->apply_filters(Array, Array)
    #8 /home/sites/8a/d/d3476d23d1/public_html/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(102): apply_filters_ref_array(‘rank_math/json_…’, Array)
    #9 /home/sites/8a/d/d3476d23d1/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php(150): RankMath\Schema\JsonLD->do_filter(‘json_ld’, Array, Object(RankMath\Schema\JsonLD))
    #10 /home/sites/8a/d/d3476d23d1/public_html/wp-includes/class-wp-hook.php(308): RankMath\Schema\JsonLD->json_ld()
    #11 /home/sites/8a/d/d3476d23d1/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #12 /home/sites/8a/d/d3476d23d1/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    #13 /home/sites/8a/d/d3476d23d1/public_html/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(88): do_action_ref_array(‘rank_math/head’, Array)
    #14 /home/sites/8a/d/d3476d23d1/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-head.php(156): RankMath\Frontend\Head->do_action(‘head’)
    #15 /home/sites/8a/d/d3476d23d1/public_html/wp-includes/class-wp-hook.php(308): RankMath\Frontend\Head->head(”)
    #16 /home/sites/8a/d/d3476d23d1/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #17 /home/sites/8a/d/d3476d23d1/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #18 /home/sites/8a/d/d3476d23d1/public_html/wp-includes/general-template.php(3043): do_action(‘wp_head’)
    #19 /home/sites/8a/d/d3476d23d1/public_html/wp-content/themes/aoki/header.php(14): wp_head()
    #20 /home/sites/8a/d/d3476d23d1/public_html/wp-includes/template.php(783): require_once(‘/home/sites/8a/…’)
    #21 /home/sites/8a/d/d3476d23d1/public_html/wp-includes/template.php(718): load_template(‘/home/sites/8a/…’, true, Array)
    #22 /home/sites/8a/d/d3476d23d1/public_html/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
    #23 /home/sites/8a/d/d3476d23d1/public_html/wp-content/themes/aoki/search.php(4): get_header()
    #24 /home/sites/8a/d/d3476d23d1/public_html/wp-includes/template-loader.php(106): include(‘/home/sites/8a/…’)
    #25 /home/sites/8a/d/d3476d23d1/public_html/wp-blog-header.php(19): require_once(‘/home/sites/8a/…’)
    #26 /home/sites/8a/d/d3476d23d1/public_html/index.php(17): require(‘/home/sites/8a/…’)
    #27 {main}
    thrown in /home/sites/8a/d/d3476d23d1/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php on line 273

Viewing 3 replies - 1 through 3 (of 3 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting the support and we regret the inconvenience caused.

    Please head over to WordPress Admin Area > 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.

    We cannot add an email recipient for response to the tickets in the support forum. The response is sent to the registered email.

    Let us know how that goes.

    Thank you.

    David
    Rank Math free

    Hi there, sorry for not getting back to you sooner on this.

    I applied the changes and it seems to have worked.

    Thanks again for the help.

    Darren

    Hello,

    Thank you for the update.

    We are super happy that this issue is already resolved. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind us asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you 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 ticket ‘Issue with breadcrumbs in latest version of RankMath’ is closed to new replies.