You can refactor yourself
To
$collaborators = Arr::stringToArray($collaborators, '#\s*,\s*#');
Next.
If i enable this option:
I can not use the reaction. As soon as I turn off this option then I can use reactions
Code:
$collaborators = preg_split(
'#\s*,\s*#',
$collaborators,
-1,
PREG_SPLIT_NO_EMPTY
);
$collaborators = Arr::stringToArray($collaborators, '#\s*,\s*#');
Next.
If i enable this option:
I can not use the reaction. As soon as I turn off this option then I can use reactions