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

Default Symfony cache not working #16

Open
Sigri44 opened this issue Nov 1, 2020 · 1 comment
Open

Default Symfony cache not working #16

Sigri44 opened this issue Nov 1, 2020 · 1 comment

Comments

@Sigri44
Copy link

Sigri44 commented Nov 1, 2020

Hi,

I use this package from Symfony 4.4, and with default Symfony Cache, i have an error :
The path "indragunawan_api_rate_limit.cache" cannot contain an empty value, but got null.

Symfony : 4.4
PHP : 4.4
Package : latest

Thanks.

@Kreyu
Copy link

Kreyu commented Dec 31, 2020

As the errors says, cache cannot contain empty value. You probably used cache: ~, which is not valid.
If you want to use Symfony cache, then provide its service name, for example cache.app:

indragunawan_api_rate_limit:
    enabled: true
    cache: cache.app

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