I got error when use thumbnail on form file upload;
ErrorException In Util.php line 275 :
fstat() expects parameter 1 to be resource, object given
the code run perfect without thumbnail, some error appear on insert, crop too.
$form->image('profile_picture', __('Profile picture'))
->removable()->downloadable()
->move("product/".date("Y")."/".date("m"))
->rules('mimes:jpeg,png,jpg,gif,svg,webp')
->thumbnail('small', 300, 300)
;
Description:
I got error when use thumbnail on form file upload;
the code run perfect without thumbnail, some error appear on insert, crop too. $form->image('profile_picture', __('Profile picture')) ->removable()->downloadable() ->move("product/".date("Y")."/".date("m")) ->rules('mimes:jpeg,png,jpg,gif,svg,webp') ->thumbnail('small', 300, 300) ;
Steps To Reproduce: