Open pixieaka opened 2 years ago
Where do you get this error message? What part of this package is causing it?
Where do you get this error message? What part of this package is causing it?
src/FormBuilder.php @ line 721
public function selectMonth($name, $selected = null, $options = [], $format = '%B')
{
$months = [];
foreach (range(1, 12) as $month) {
$months[$month] = strftime($format, mktime(0, 0, 0, $month, 1));
}
return $this->select($name, $months, $selected, $options);
}
There's an open PR to fix this: #699
I have pushed a fix for this on my fork of this package as it is now abandoned: https://github.com/LaravelLux/html
Laravel Framework: 9.13.0 PHP: 8.1.6
laravel.WARNING: Function strftime() is deprecated
laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [deprecations] is not defined