z-song / laravel-admin

Build a full-featured administrative interface in ten minutes
https://laravel-admin.org
MIT License
11.1k stars 2.81k forks source link

Problem with delete multipleImages #5856

Open blessq12 opened 1 month ago

blessq12 commented 1 month ago

Description:

i faced a problem. Need to add several images with thumbnail for my Product model in my project. Upload images and generate thumbnails - all good. But when i add to form multipleImages removable method a delete buttons are appeared near every images

when i call a delete for image its returm me a 500 http status and debug show a message

    "message": "League\\Flysystem\\Filesystem::has(): Argument #1 ($location) must be of type string, null given, called in /usr/local/var/www/gsushi.dd/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemAdapter.php on line 181",

throughout all backtrace i can't find how to fix that and need a help cause i spent near a week to solve this 🤷🏻‍♂️

Steps To Reproduce: