api-rate-limit-bundle
api-rate-limit-bundle copied to clipboard
Default Symfony cache not working
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.
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