memphdutchParticipant1 year, 11 months ago #23107
I am getting errors when I type an apostrophe in my search.
I am running WP SOLR 21.9 on the latest version of wordpress with PHP 7.4. It is connected to Algolia.
If I type “Lord’s prayer” into my search bar, I get no search results, and it says that the search query was “Lord\’s prayer.”
If I disable WP SOLR and search using the native wordpress search, I do not get any errors. It finds and displays the results properly.
If I log in to to Algolia.com and perform the same search directly on the index, I get no errors, and the proper results appear.
This tells me that the problem is likely in the plugin.
Can you offer a fix or point me in the right direction?
Here is an example. https://staging-verseandvoice.kinsta.cloud/?s=lord%27s+prayer
(Note: If an error message from Anywhere Elementor is still showing, you can ignore it. That is an issue which appears when there are no results for a search, and is not tied to the “slash” issue. A search for “Mick Jagger” illustrates that that error is unrelated. https://staging-verseandvoice.kinsta.cloud/?s=lord%27s+prayer )1 year, 11 months ago #23127
I could reproduce the issue: https://trello.com/c/tA3PZNiL/117-fix-errors-when-i-type-an-apostrophe1 year, 11 months ago #23133
You can find a fix to replace your current WPSOLR: https://trello.com/c/tA3PZNiL/117-fix-errors-with-apostrophe
You must be logged in to reply to this topic.