Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 500 with Relevanssi 3.5.9.1 #26

Open
Web1776 opened this issue May 15, 2017 · 0 comments
Open

Error 500 with Relevanssi 3.5.9.1 #26

Web1776 opened this issue May 15, 2017 · 0 comments

Comments

@Web1776
Copy link

Web1776 commented May 15, 2017

I started getting an Error 500 on the autocompleteCallback AJAX request after updating to Relevanssi 3.5.9.1

I am using version 2.1.16 of SearchAutocomplete

The portion of searchautocomplete.php that passes the query to Relevanssi (line 129) does not appear to pass a WP_Query object to the relevanssi_do_query() as noted in the Relevanssi documentation: https://www.relevanssi.com/knowledge-base/relevanssi_do_query/

I added the following at line 130 of searchautocomplete.php and the issue appears to be solved:

$query = new WP_Query();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant