Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug Report: #13

Closed
2 tasks done
kiloki-official opened this issue Jan 16, 2022 · 7 comments
Closed
2 tasks done

馃悰 Bug Report: #13

kiloki-official opened this issue Jan 16, 2022 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@kiloki-official
Copy link

馃憻 Reproduction steps

I try to delete a file:

$storage->deleteFile($file_id);

馃憤 Expected behavior

It should delete a file without an exception.

馃憥 Actual Behavior

It actually deletes the file. But I get an uncatchable eception (even with Appwrite\AppwriteException):

Uncaught TypeError: Return value of Appwrite\Services\Storage::deleteFile() must be of the type array, string returned in /var/www/djemgo/public_html/vendor/appwrite/appwrite/src/Appwrite/Services/Storage.php:194

馃幉 Appwrite version

Different version (specify in environment)

馃捇 Operating system

Linux

馃П Your Environment

0.12.1

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

@kiloki-official kiloki-official added the bug Something isn't working label Jan 16, 2022
@lohanidamodar lohanidamodar self-assigned this Feb 11, 2022
@lohanidamodar
Copy link
Member

@kiloki-official thank you for raising the issue, we will get back to you soon.

@brianmutiso
Copy link

I still found the same issue

@lohanidamodar
Copy link
Member

@brianmutiso please provide the package version and appwrite server version you are using that causes the issue 馃檹馃徎

@brianmutiso
Copy link

AppWrite server v:0.13.4.304
Php sdk: 5.0.0

@lohanidamodar
Copy link
Member

SDK 5.0.0 works only with Appwrite 0.14.x, you should use PHP SDK 4.x.x with Appwrite 0.13.x.

@lohanidamodar
Copy link
Member

However, I do see that we have the bug, we will work to fix it. Thank you for notifying.

@lohanidamodar
Copy link
Member

@kiloki-official should be solved with latest update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants