An error occurs when opening the form:
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in ...\components\com_fabrik\models\element.php on line 7121
I added the code (bold, italic) and the error disappeared . Is this correct?
if ($thousandSep == '#32')
{
$thousandSep = ' ';
}
else if ($thousandSep == '#00')
{
$thousandSep = '';
}
if ($val== Null)
{
$val = ' ';
}
2021 $val = str_replace($thousandSep, '', $val);
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in ...\components\com_fabrik\models\element.php on line 7121
I added the code (bold, italic) and the error disappeared . Is this correct?
if ($thousandSep == '#32')
{
$thousandSep = ' ';
}
else if ($thousandSep == '#00')
{
$thousandSep = '';
}
if ($val== Null)
{
$val = ' ';
}
2021 $val = str_replace($thousandSep, '', $val);