Relevanssi is giving a 500 error

Was there something I missed in the new update?
The search page looks different and the plugin returns a 500 error now.
Should I make a new search.php in my child?

Thank You

Hello @CPSA,

Thanks for writing in! An error 500 usually means a fatal error. Can you please enable the debug mode? You can do this by opening wp-config.php and adding


define('WP_DEBUG', true);

/* That's all, stop editing! Happy blogging. */

When you revisit the search page, you should have some error output describing the issue in more detail. And please post the error in your next reply.

Regards.

it was Relevansi. it had a decrepited code. It declared a variable declaration.
It declared terms_list as a string but then as an array later on:
$term_list = '';
on line 2046 of relevanssi.php
it should be:
$term_list = [];

Hi there,

Thanks for reporting back. In that case, kindly get it touch with the plugin author about the issue.

Cheers!

Not a problem.
I just wanted to make sure that I had a solution in case someone else came by here. Nothing more frustrating when you find a post with the same question and all it says is ‘I fixed it.’

You are most welcome. I suggest you to get in touch with the plugin developer for some possible solutions.

Thanks for understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.