Skip to content

[bug] CacheItem must be compatible #978

@c-o-m-m-a-n-d-e-r

Description

@c-o-m-m-a-n-d-e-r

Hi,
i'm getting the same Error like here:
https://community.humhub.com/comment/perma?id=51033

The Error is :
Declaration of Detection\Cache\Cache::get(string $key, mixed $default = null): ?Detection\Cache\CacheItem must be compatible with PsrExt\SimpleCache\CacheInterface::get($key, $default = <default>)

Already tried reinstalling via composer without luck.

Usage is only:
use Detection\MobileDetect; $detect = new MobileDetect(); $isMobile = $detect->isMobile();

Bildschirmfoto 2025-01-08 um 09 16 20

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions