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 Warning: Parameter 2 to ES_WP_Query_Shoehorn #56

Open
kclarke10 opened this issue Jul 6, 2017 · 1 comment
Open

Error Warning: Parameter 2 to ES_WP_Query_Shoehorn #56

kclarke10 opened this issue Jul 6, 2017 · 1 comment

Comments

@kclarke10
Copy link

Have got WP 4.8, on PHP 7.1.6 with searchpress.
On the site's static frontpage, I've set es => true on all the WP_Query there.
On categories, date and authors ..I set es via pre_get_posts

Everything looks to be working as expected but this error warning appears for every query:
Parameter 2 to ES_WP_Query_Shoehorn::filter__posts_request() expected to be a reference, value given

@dhanendrannewscorp
Copy link

I'm also getting the same error on the Query Monitor. Is there any fix for this issue?

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

2 participants