PHP notices on breadcrumb

  • Hello RankMath

    My debug log is filled with PHP notices related to Breadcrumb, I know the plugin still works.
    Anyway I think it’s a best practise to fix them.

    See some logs:

    [19-Oct-2019 04:02:09 UTC] PHP Notice:  Undefined index: after in /wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php on line 143
    [19-Oct-2019 04:05:02 UTC] PHP Notice:  Undefined index: before in /wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php on line 143

    RankMath version
    Also, it would be nice to have RanMath on Github to let users collaborate on pull requests.

    Thank you

    • This topic was modified 8 months, 1 week ago by Nico Mollet.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Thanks for getting in touch with us today and sorry for the inconvenience caused.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    We really look forward to helping you.


    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    I added the sensitive data.

    My (parent) theme OceanWP simply uses the breadcrumb function:

    	// Rank Math breadcrumbs
    if ( function_exists( 'rank_math_the_breadcrumbs' ) ) {
      return rank_math_the_breadcrumbs();

    before and after and unset by the looks of my debug log.

    Thank you


    Thank you for contacting Rank Math today.

    I have submitted this problem to our dev team for closer investigation and we will be getting back to you in a short while.

    Looking forward to helping you. Thank you.



    Please update your OceanWP theme to the latest version i.e v1.7.2. There was a bug in the filter which the OceanWP theme was using which they have addressed in the latest version. Updating the theme should fix the issue.

    Hope that helps. Thank you.

    Thanks this is solved.


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

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on about your overall experience with Rank Math? We appreciate your time and patience.

    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 7 replies - 1 through 7 (of 7 total)

The ticket ‘PHP notices on breadcrumb’ is closed to new replies.