Error On ExpireTime
MPTA opened this issue · 1 comments
MPTA commented
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 commented
I am sorry for that, and now it's been fixed https://github.com/overtrue/qcloud-cos-client/releases/tag/2.1.1.