trying to access array offset on value of type int php code example
Example: trying to access array offset on value of type bool
Easy with PHP ?? null coalescing operator
return $Row['Data'] ?? 'default value';
Or you can use as such
$Row['Data'] ??= 'default value';
return $Row['Data'];