Do you get an email to the site admin telling you what that critical error is? Without knowing the actual error message, it’s impossible to tell what’s wrong. If you don’t get the error email, you’d need to check the server PHP error log to see what the problem is. Once you know the error message, I can help figure out if it’s something related to Relevanssi.
If you try the same search with the Relevanssi admin search (Dashboard > Admin search), does that work?
Hi Mikko
I’ve investigated further based on your feedback, and here is what I found out:
1. The admin search si running ok.
2. The error in related to the litespeed-cache plugin.
[09-Dec-2021 12:27:50 UTC] PHP Recoverable fatal error: Object of class WP_Error could not be converted to string in /home/madisonp/public_html/wp-content/plugins/litespeed-cache/src/control.cls.php on line 499.
This is the code arround line 499: https://prnt.sc/22ggybh
Do you have any further suggestions?
Thanks
Alex
And, maybe it helps further, this is from the debug log of litespeed-cache plugin: https://prnt.sc/22ggybh.
Your both image links are to the same image. The debug log is missing.
Something on the search results template is triggering a WP_Error, which then brings down Litespeed Cache when it expects to get a string. The function is about checking redirects, but I have no idea why Litespeed would be doing something like that. Litespeed Cache support forums may be helpful there.
Anyway, this doesn’t look like a Relevanssi problem. You can try disabling the Relevanssi custom excerpts if they are enabled; does that help?
This is the debug log from litespeed-cache plugin: https://prnt.sc/22gw043
I tried disabling custom excerpts, but it does not change anything.
I’ll try raising a ticket to litespeed.
Thanks
Alex
Hopefully, that helps; I have no idea what Litespeed is trying to do there. If they can explain how it’s related to Relevanssi, I can then help more.