tcetin
4 months ago
1522
6
Laravel

ErrorException stream_copy_to_stream(): read of 8192 bytes failed with errno=21 Is a directory

Posted 4 months ago by tcetin

I am getting this error on ubuntu & nginx web server while file uploading.

ErrorException stream_copy_to_stream(): read of 8192 bytes failed with errno=21 Is a directory

My environment is:

  • php7.4
  • laravel 7.x

It happens at Illuminate\Foundation\Bootstrap\HandleExceptions::handleError vendor/league/flysystem/src/Adapter/Local.php:159

What is this error? How can I solve?

Please sign in or create an account to participate in this conversation.