• Hi
    
    We're using Relevanssi for some time and are really grateful for the work you've done.
    
    Unfortunately for the last 3 days we’re struggling with an error. 
    
    When we search using the term "diptyque" it's generating an error page with this message: "There has been a critical error on this website".
    
    Any other partial search term is returning the right products except the full name of the brand.
    
    Could you help us with this?
    
    Thanks
    Alex

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Mikko Saari

    (@msaari)

    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?

    Thread Starter lex1278

    (@lex1278)

    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

    Thread Starter lex1278

    (@lex1278)

    And, maybe it helps further, this is from the debug log of litespeed-cache plugin: https://prnt.sc/22ggybh.

    Plugin Author Mikko Saari

    (@msaari)

    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?

    Thread Starter lex1278

    (@lex1278)

    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

    Plugin Author Mikko Saari

    (@msaari)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Search error for a specific term’ is closed to new replies.