Support » Plugin: Relevanssi - A Better Search » There has been a critical error on your website.

  • Resolved tjalexander70

    (@tjalexander70)


    So, Relevanssi seems to work for 99.99% of searches. However, my website is https://mychesco.com/ and if a search ‘mychesco’ I will get a “There has been a critical error on your website” message. This wanting the case prior to the most recent update.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I have more information…

    I was going thru the setting pages and found that on the “Stopwords” tab, that “mychesco” is the first on the Stopword Candidates list with what I assume is 7663 occurrences.

    The next word on the next on the Stopword Candidates list is “default” with 7655 occurrences. Performing a search with this word also produces an error.

    The third on the list is “pennsylvania” with 5663 occurrences. Performing a search with this and every other search term in that list produces no error.

    Plugin Author Mikko Saari

    (@msaari)

    This is likely caused by a known issue in Relevanssi, where doing a search without a search term causes Relevanssi to return all posts. That causes problems at certain amounts of posts, which would explain why those two search terms cause a problem and the others won’t.

    If it’s this, checking the “Throttle searches” setting on Relevanssi Searching settings tab should fix the problem. If the setting is already enabled, then this is something else.

    The “Throttle searches” does work, but I ended up dropping job listings from the indexing and unchecked “Index the post author display name”. That seems to have given me a little breathing room.

    Plugin Author Mikko Saari

    (@msaari)

    With that many posts, you really should be using “Throttle searches”. It’s pretty rare someone wants to see more than 500 posts for a search and the performance difference can be quite striking.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.