• Hello,

    After I updated to the latest version of WP and Relevanssi, I noticed that when I search certain things it works, but for others it says a critical error has occurred. Due to this I had to deactivate the plugin.

    Hope you can fix this.

    Warm regards,

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

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

    (@msaari)

    What is the exact error message you’re getting? I can’t help you unless I know what problem is, and just “critical error” doesn’t unfortunately tell me anything.

    Thread Starter hbk747

    (@hbk747)

    Hello @msaari

    I have reactivated the plugin so you can test on your end as well. It might work for you but for others it is not. So for example, if you go to the website and use the search bar on the top left and type “economic crisis”, to me it gives this error “There has been a critical error on this website.

    Learn more about troubleshooting WordPress.

    It doesn’t tell me much beyond this

    Plugin Author Mikko Saari

    (@msaari)

    Often you get an email to the site admin address with more details. If you don’t get that, there’s likely something in the server PHP error log (ask your host how to find that if you don’t know where it is).

    If only some search terms cause this problem, is there something in common with them? Does disabling custom excerpts in Relevanssi settings help?

    Thread Starter hbk747

    (@hbk747)

    @msaari Error log did not have anything relevanssi related. However when I disabled the custom excerpt option, everything seems fine. I will keep checking. Is it okay to keep this option off?

    Plugin Author Mikko Saari

    (@msaari)

    Please don’t ping me every time. You already have my full attention.

    You can keep the option disabled but of course that means you don’t get the custom excerpts. To fix this, you need to figure out what in your posts causes this error: it’s some element that the Relevanssi excerpts can’t handle. Once you figure out what that is, this is something that can be fixed.

    Thread Starter hbk747

    (@hbk747)

    Mikko I am very Saari for pinging you ?? (hope my pun made it up)

    I did not know it was considered bad practice. The only error log of note is from a plugin called Top 10 posts (fast tracker). Perhaps that is the issue.

    Plugin Author Mikko Saari

    (@msaari)

    Pinging people who’ve replied in the thread is not useful, because they already have a email subscription on the thread if they want to. Every ping means extra emails and a Slack notification, at least for me.

    You can enable the excerpts and when you get a broken search, disable the excerpts and investigate the top results. Those posts likely have something the excerpt algorithm can’t digest.

    Thread Starter hbk747

    (@hbk747)

    Thanks. I will try that.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘After update, critical error’ is closed to new replies.