I am trying to create a view of nodes that contain certain words in the text.
When I create a view with a Search: Fast Index filter, but don't expose the filter, I am unable to include more than one search term if I choose the 'OR' operator.
Two things happen:
1. Drupal reports the error:
mb_strtolower() expects parameter 1 to be string, array given in /path/includes/unicode.inc on line 401.
2. When I go back to edit the view, the keywords I entered as parameters in the view have disappeared.
I tried creating more than one Search: FastIndex filter, but I got the same results.
When I use the 'AND' operator, everything works as expected. If I expose the view and enter the search terms by hand, everything works as expected.
Any help or advice is appreciated!
Comments
Comment #1
NaX commentedI have the exact same problem except the error is a little different, but I think it related to the same problem.
warning: preg_match() expects parameter 2 to be string, array given in /usr/www/users/donalb/includes/bootstrap.inc on line 677.The function that line 677 refers to is drupal_validate_utf8
I did a backtrace in the drupal_validate_utf8 function and this is function execution order.
The argument passed to theme_textfield is
Hope that helps.
Comment #2
chromix commentedJust noting I'm still getting this error in 5.x-2.0, but only with the 'OR' filter. I've looked at the source and I can't pinpoint why.
Comment #3
pomliane commentedThis version of Views Fast Search is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.