php - Cannot assign an empty string to a string offset WordPress 4.8.1 -
i getting warning:
cannot assign empty string string offset in /homepages/27/d653904259/htdocs/clickandbuilds/wp-includes/class.wp-scripts.php on line 447
$l10n[$key] = html_entity_decode( (string) $value, ent_quotes, 'utf-8'); – j
you can check inline; $value
set or not:
$l10n[$key] = html_entity_decode( (isset($value)) ? $value : 'default text or html here...', ent_quotes, 'utf-8');
Comments
Post a Comment