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
Comments
@kiloki-official thank you for raising the issue, we will get back to you soon. |
I still found the same issue |
@brianmutiso please provide the package version and appwrite server version you are using that causes the issue 馃檹馃徎 |
AppWrite server v:0.13.4.304 |
SDK 5.0.0 works only with Appwrite 0.14.x, you should use PHP SDK 4.x.x with Appwrite 0.13.x. |
However, I do see that we have the bug, we will work to fix it. Thank you for notifying. |
@kiloki-official should be solved with latest update. |
馃憻 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?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: