Searching for Words with a Hyphen generates a Fatal error
-
Our case for using Relevanssi is to enable users getting the same results, whether they type a word with or without a hyphen. For instance: e-learning or elearning.
However after plugin installation and minimal configuration I see a fatal error while searching for a term like this (/?s=e-learning):
Uncaught Error: Argument 1 passed to relevanssi_mb_strcasecmp() must be of the type string, null given, called in /public/app/plugins/relevanssi/lib/sorting.php on line 268
in /public/app/plugins/relevanssi/lib/utils.php on line 517I changed these settings to see if they would solve this, but they did not. We are using Woocommerce.
* Advanced indexing settings > Hyphens and dashes: Remove
* Shortcodes > Expand shortcodes: disableHow can I solve this?
- The topic ‘Searching for Words with a Hyphen generates a Fatal error’ is closed to new replies.