I\'m using the storage facade to store a avatar which works fine, but I want to resize my image like I did in previous versions of laravel. How can I go about doing this? Here i
In my case the error was caused by calling the hashName method on an image instance.
//initially $image = Image::make(request('image')->getRealPath()); $filename = $image->hashName(); //to fix the error $image = Image::make(request('image')->getRealPath()); $filename = request('image')->hashName();