- Issue created by @cmseasy
- ๐ฎ๐ณIndia dineshkumarbollu
Hi cmseasy
The issue is due to preg_split() arguments 3 excepts Interger here given as NULL by changng the code From NULL to -1 the might be resolve, Here -1 also acts as NULL.
$paragraphs = preg_split('/^<p>/m', trim($injector_field[0]['#markup']), NULL, PREG_SPLIT_NO_EMPTY);
To
$paragraphs = preg_split('/^<p>/m', trim($injector_field[0]['#markup']), -1, PREG_SPLIT_NO_EMPTY);
- ๐ฎ๐ณIndia chetan 11
chetan 11 โ made their first commit to this issueโs fork.
- Status changed to Needs review
11 months ago 5:48am 8 December 2023 - ๐ฎ๐ณIndia chetan 11
Hi,
I have fixed the above warning "preg_split()" on field injector module, please check the raised MR.
Thanks.