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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error On ExpireTime #12

Closed
MPTA opened this issue Nov 16, 2023 · 1 comment
Closed

Error On ExpireTime #12

MPTA opened this issue Nov 16, 2023 · 1 comment

Comments

@MPTA
Copy link

MPTA commented Nov 16, 2023

when i update to new version , file uploading has exception error:

Overtrue\CosClient\Signature::getTimeSegments(): Argument #1 ($expires) must be of type DateTimeInterface|string|int, null given, called in /var/www/html/vendor/overtrue/qcloud-cos-client/src/Signature.php on line 26

as i checked $expires variable is null and when i set value for $expires to int like 10 , it will work.

@overtrue
Copy link
Owner

I am sorry for that, and now it's been fixed https://github.com/overtrue/qcloud-cos-client/releases/tag/2.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants