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

Invalid key "DoctrineNamespaceCacheKey[]" #142

Open
unguul opened this issue Jul 21, 2020 · 0 comments · May be fixed by php-cache/documentation#47
Open

Invalid key "DoctrineNamespaceCacheKey[]" #142

unguul opened this issue Jul 21, 2020 · 0 comments · May be fixed by php-cache/documentation#47

Comments

@unguul
Copy link

unguul commented Jul 21, 2020

Cache\\Adapter\\Common\\Exception\\InvalidArgumentException: Invalid key "DoctrineNamespaceCacheKey[]". Valid filenames must match [a-zA-Z0-9_\\.! ].

I'm getting the above when using the doctrine bridge with a chain pool which includes a filesystem adapter in the context of Doctrine ORM cache implementations(metadata, query, results). I worked around this by removing the filesystem from the chain(probably too slow anyway).

Might be worth putting a warning on the docs to clarify that the Doctrine bridge doesn't work with the fs cache implementation.

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 a pull request may close this issue.

1 participant