A solution to this issue could be to ensure that a string is always passed to the trim() function.
mxrtinax β created an issue.
I got this error after applying the #3 patch π Error on layout builder page when adding an entity view block (chaos tools) Needs review while indexing in Search API: 'preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in share_everywhere.module:145'. I've added a condition to check for an empty value in the new patch.
mxrtinax β created an issue.
mxrtinax β made their first commit to this issueβs fork.