Skip to content

Conversation

@VincentLanglet
Copy link
Contributor

Hi @matthewelwell,

I recently got an error
image

Which is caused by the cachedCall returning null.

I'm not sure if it's a bad luck about the ttl expiring between the has call and the get call (therefor returning null)
or if it's because we had invalid values in the cache or any other reason...

But when using cache, I assume flagsmith should get the value and check it's an array/object before returning it. (In order to respect the phpdoc of the method)

@gagantrivedi gagantrivedi merged commit d63f07b into Flagsmith:main Nov 7, 2023
@VincentLanglet
Copy link
Contributor Author

Thanks @gagantrivedi, is it possible to tag a new release :)

@gagantrivedi
Copy link
Member

gagantrivedi commented Nov 7, 2023

Thanks @gagantrivedi, is it possible to tag a new release :)

Yeah, once #59 is approved (in a couple of hours)

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

Successfully merging this pull request may close these issues.

2 participants