platform icon indicating copy to clipboard operation
platform copied to clipboard

Attachment Upload Error

Open HichemBenali opened this issue 2 years ago • 1 comments

Describe the bug When trying to upload any attachment files i get a "sha1_file(): Argument #1 ($filename) must be of type string" error (from developer inspection tool).

To Reproduce Steps to reproduce the behavior:

  1. Laravel 9, PHP 8.1, Orchid 12.5.0
  2. Create a simple screen with Picture or Cropper or Upload
  3. try to upload a file

Expected behavior File should be uploaded to the filesystem.

Screenshots image

Desktop:

  • OS: Windows 10
  • Browser Chrome
  • Version 101

Server (please complete the following information):

  • Platfrom Version: 12.5.0
  • Laravel Version: 9.0
  • PHP Version: 8.1
  • Database: MySQL
  • Database Version: 8.0

Additional context My guess is that the issue is permission related, But it due to the updates on Laravel's filesystem, as it no longer returns errors instead it returns a boolean value.

HichemBenali avatar May 25 '22 02:05 HichemBenali

I am having the same issue. Is there any workaround for this issue?

shahbaz-dev1 avatar Jun 01 '22 13:06 shahbaz-dev1