search

Home  >  Q&A  >  body text

The file has been uploaded successfully and can be viewed, but an exception message is reported.

(1/1)   ErrorException                                    

Undefined index: uploads

in Local.php (line 349)11.jpg



比你盖茨比你盖茨2771 days ago1367

reply all(2)I'll reply

  • 比你盖茨

    比你盖茨2017-07-17 17:19:29

    Custom node in filesystem.php:

    'upload' => ' => env('APP_URL').'/storage',
                'visibility' => 'private',
                                                                                             ------------------


    'visibility' => 'private'


    visibility configuration can only be public or private, I will type more with my swipe 1 letter was added, so an error was reported

    reply
    1
  • PHP中文网

    PHP中文网2017-07-14 09:22:58

    The superficial meaning is: the uploads variable in line 349 of the Local.php file is undefined. The specific reason can only be found through step-by-step debugging

    , good luck!

    reply
    1
  • Cancelreply