Trying to access array offset on value of type bool controller view 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'];