A Fatal Error when Upgrading PHP to 8.3

#728622
  • Resolved Anonymous
    Rank Math free

    Dear,

    I have graded my PHP to 8.3 and got a fatal error from the Rank Math SEO. I had to deactivate the Rank Math SEO for a while.

    The error message was:

    Uncaught ValueError: Missing padding character in /sites/tlhr2014.com/files/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php:273 Stack trace: #0 /sites/tlhr2014.com/files/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php(273): sprintf() #1 [internal function]: RankMath\Frontend\Breadcrumbs->add_crumbs_search() #2 /sites/tlhr2014.com/files/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php(231): call_user_func() #3 /sites/tlhr2014.com/files/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php(174): RankMath\Frontend\Breadcrumbs->generate() #4 /sites/tlhr2014.com/files/wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-breadcrumbs.php(34): RankMath\Frontend\Breadcrumbs->get_crumbs() #5 /sites/tlhr2014.com/files/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php(247): RankMath\Schema\Breadcrumbs->process() #6 /sites/tlhr2014.com/files/wp-includes/class-wp-hook.php(326): RankMath\Schema\JsonLD->add_context_data() #7 /sites/tlhr2014.com/files/wp-includes/plugin.php(256): WP_Hook->apply_filters() #8 /sites/tlhr2014.com/files/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(102): apply_filters_ref_array() #9 /sites/tlhr2014.com/files/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php(149): RankMath\Schema\JsonLD->do_filter() #10 /sites/tlhr2014.com/files/wp-includes/class-wp-hook.php(324): RankMath\Schema\JsonLD->json_ld() #11 /sites/tlhr2014.com/files/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #12 /sites/tlhr2014.com/files/wp-includes/plugin.php(565): WP_Hook->do_action() #13 /sites/tlhr2014.com/files/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(88): do_action_ref_array() #14 /sites/tlhr2014.com/files/wp-content/plugins/seo-by-rank-math/includes/frontend/class-head.php(172): RankMath\Frontend\Head->do_action() #15 /sites/tlhr2014.com/files/wp-includes/class-wp-hook.php(324): RankMath\Frontend\Head->head() #16 /sites/tlhr2014.com/files/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #17 /sites/tlhr2014.com/files/wp-includes/plugin.php(517): WP_Hook->do_action() #18 /sites/tlhr2014.com/files/wp-includes/general-template.php(3052): do_action() #19 /sites/tlhr2014.com/files/wp-content/themes/fruit/header.php(9): wp_head() #20 /sites/tlhr2014.com/files/wp-includes/template.php(790): require_once(‘…’) #21 /sites/tlhr2014.com/files/wp-includes/template.php(725): load_template() #22 /sites/tlhr2014.com/files/wp-includes/general-template.php(48): locate_template() #23 /sites/tlhr2014.com/files/wp-content/themes/fruit/search.php(9): get_header() #24 /sites/tlhr2014.com/files/wp-includes/template-loader.php(106): include(‘…’) #25 /sites/tlhr2014.com/files/wp-blog-header.php(19): require_once(‘…’) #26 /sites/tlhr2014.com/files/index.php(17): require(‘…’) #27 {main} thrown in /sites/tlhr2014.com/files/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php on line 273

    Plase help me,
    Warong

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    This is most likely an issue with your Breadcrumb search result format and you can usually fix this by adding %s to the Search Results Format in your Breadcrumb settings:

    1. Go to Rank Math > General Settings > Breadcrumbs in your WordPress dashboard.
    2. Find the option that says Search Results Format and change it to Search for %s or anything else that has %s in it
    3. Save your changes and clear your website’s cache.
    4. Check if the search page is working properly now.

    Let us know how this goes.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘A Fatal Error when Upgrading PHP to 8.3’ is closed to new replies.