While Updating an image after cropping, I am getting the following error:
Symfony\Component\HttpFoundation\File\UploadedFile::__construct(): Argument #5 ($test) must be of type bool, null given
        $croppedimage = $request->croppedimage;
        $baseurl = url('')."/";
        $tempfile = Str::replace($baseurl, "", $croppedimage);
        $sizeFile = \File::size($tempfile);
        $originalName = pathinfo($croppedimage, PATHINFO_BASENAME);
        $p = new UploadedFile($tempfile, $originalName, 'image/jpeg', $sizeFile, null, TRUE);
