Closed fa6ian closed 5 years ago
I'm getting an Undefined Variable: name error when I visit an entry with an icon picker field type. If I hard code the font name in the Services.php file it all seems to work, but I was wondering what, if anything, I'm doing wrong.
$this->_loadedFonts[] = [ 'type' => 'local', 'name' => 'font-face-' . $name, 'url' => $this->_getUrlForPath($file), ];
Should be fixed in 1.0.8
I'm getting an Undefined Variable: name error when I visit an entry with an icon picker field type. If I hard code the font name in the Services.php file it all seems to work, but I was wondering what, if anything, I'm doing wrong.
$this->_loadedFonts[] = [ 'type' => 'local', 'name' => 'font-face-' . $name, 'url' => $this->_getUrlForPath($file), ];