500 error on search

Describe your question in as much detail as possible:

Users are getting a 500 error when they use the top search bar, but not every time. It seems only randomly reproducible.

  • What are you seeing, and how does it differ from what you expect to see?

500 error with the kitsune-head icon. We expect to see search results.

  • What version are you on (Hint: /help) ? and are you using self-managed or gitlab.com?

Self-managed, 13.9 on Starter plan

  • What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?

We have looked at the logs and not seen anything obvious. We have also bounced the server, and no change. I can provide logs if needed.