Search Bar Function doesn’t work with Rank Math

#516508
  • Resolved skigrl985
    Rank Math free

    Hi,
    I noticed my search bar wasn’t working on my site the last few days. I reached out to my host / tech guy and he checked the error log to see that RankMath plugin was the issue. I was on PhP 8.0, so he took it back to 7.4 and it worked again. Just thought I’d let you know that it causes “critical error” for searches when RankMath is installed with php 8.0

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    Can you please share the error logs with us so we can determine what’s causing the issue you experienced?

    Looking forward to helping you.

    Thank you.

    ​​​​​​​

    Hi,
    I’m not sure how to personally access the error log, but here is what my host/tech guy found:
    [23-Jan-2023 03:14:41 UTC] PHP Fatal error: Uncaught ValueError: Missing padding character in /public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-breadcrumbs.php:273

    Hello,

    Thank you for sharing the error log.

    In this case, 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.

    Hope that helps.

    Thank you.

    Thanks. I had my guy change the php back to 7.4 (or 7.3?) and that seemed to fix it. I mostly just wanted to make you aware for customers you may have on 8.0 when I update back to 8.0 I will give that a try though. Thank you!

    Hello,

    You’re welcome.

    Sure, let us know how this goes for the same.

    Meanwhile, please don’t hesitate to contact us anytime if you have other questions to assist you further.

    Looking forward to helping you.

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

The ticket ‘Search Bar Function doesn’t work with Rank Math’ is closed to new replies.