thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.72k stars 2.67k forks source link

500 Server error when trying to access admin panel #5822

Open mcirami opened 6 months ago

mcirami commented 6 months ago

Laravel version

10.10

PHP version

8.1

Voyager version

1.7

Database

8.0

Description

I'm using s3 in my voyager Storage Config. I get a 500 server error when trying to access /admin this is the message in my log: Found 1 error while validating the input provided for the GetObject operation: [Key] expected string length to be >= 1, but found string length of 0 {"view":{"view":"/var/www/linkpro-new/vendor/tcg/voyager/resources/views/media/manager.blade.php"

just to test, I went into that file and commented out lines 8-10 and I was able to get past the error and bring up the admin panel. This is what I commented out: `