This repository was archived by the owner on Jan 31, 2020. It is now read-only.
This repository was archived by the owner on Jan 31, 2020. It is now read-only.
PHP 7.3 issue with compact() in HeadLink.php #172
Closed
Description
Under PHP 7.3 we see the following logged:
PHP Notice: compact(): Undefined variable: extras in src\Helper\HeadLink.php on line 413
A quick fix replaces lines 408-413 with:
$attributes = compact('rel', 'type', 'href', 'media', 'conditionalStylesheet');
if ($args && is_array($args[0])) {
$attributes['extras'] = array_shift($args);
}