relevanssi_didyoumean() Notice
-
Hi there,
Recently tapped into relevanssi_didyoumean() and get a notice when a suggestion cannot be found. This is because $result is not defined as null prior to if ($distance > 0) { section.
I’ve simply added $result = null at the top of the function under the globals for now.
Simple fix!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘relevanssi_didyoumean() Notice’ is closed to new replies.