Intervention\Image\Exception\NotWritableException Can't write image data to path (C:\laragon\www\event-book\public\/uploads/avatars/1610053371.jpg) code example
Example: Can't write image data to path
Just change this:
$path = public_path('images/cars/'.$filename);
To this:
$path = 'images/cars/' . $filename;
Also, make sure that, the target path/location is writable, has write
permission.