Closed (outdated)
Project:
Search API
Version:
7.x-1.27
Component:
Plugins
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2023 at 06:50 UTC
Updated:
14 Aug 2026 at 20:48 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
astonvictor commentedimplemented a small fix
Comment #3
astonvictor commentedComment #4
drunken monkeyThanks for reporting this problem!
If
$arris a boolean on that line, then it isFALSEbecause thepreg_split()in the line above it failed. This usually means that the regular expression is broken, or too complex for the given input. Do you have some especially complex regular expression configured in the processor’s “Whitespace characters” setting?This error would indeed be easy to fix, but indexing might still not work as expected for you, at least for some items, so it would be good not to just mask this error here but to address the underlying cause.
At the very least, we should log a warning if this happens. Patch attached, please test/review.
Comment #5
benstallings commented