Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Reproduce by including a single quote in the search filter.
Fatal error: Unsupported operand types in ...modules/views/modules/search/views_handler_filter_search.inc on line 156
Comment | File | Size | Author |
---|---|---|---|
#5 | 1148688.patch | 1.37 KB | dawehner |
#1 | views6.png | 24.18 KB | dawehner |
Comments
Comment #1
dawehnerSo if i input a single "’" it works fine for me.
Can you paste the exact char you used?
Comment #2
jtwalters CreditAttribution: jtwalters commentedI used the character: '
Comment #3
dawehnerI get the same result as mentioned above. Can you still reproduce the error?
Comment #4
jtwalters CreditAttribution: jtwalters commentedMore info:
It appears to happen if you include at least one positive word of at least 3 characters AND another word less than 3 characters.
Try searching "fo bar" or "f bar"
Fatal error: Unsupported operand types in ... sites/all/modules/views/modules/search/views_handler_filter_search.inc on line 156
Comment #5
dawehnerCan you please test this patch and see that this doesn't brake something?
Comment #6
jtwalters CreditAttribution: jtwalters commented#5 patch works for me. I tested several combinations of searches with success.
Comment #7
dawehnerCool. Thanks for testing. Commited.