Skip to content

Invalid key "DoctrineNamespaceCacheKey[]" #142

Open
php-cache/documentation
#47
@unguul

Description

@unguul

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions