Skip to content

[bug]Fatal error: Declaration of Detection\Cache\CacheItem::expiresAt(?DateTimeInterface $expiration): Theme must be compatible with Psr\Cache\CacheItemInterface::expiresAt($expiration) #979

Open
@BackuPs

Description

Describe the bug
A clear and concise description of what the bug is.
Include steps to reproduce the behavior.
A clear and concise description of what you expected to happen.

User-agent/Device/Phone/Tablet (please complete the following information):

  • User-agent [e.g. "Mozilla/5.0 (Linux; Android 12; SAMSUNG SM-F926B) AppleWebKit/537.36..."]

I get this error just on one website. PHP 8.2.27

Fatal error: Declaration of Detection\Cache\CacheItem::expiresAt(?DateTimeInterface $expiration): Theme must be compatible with Psr\Cache\CacheItemInterface::expiresAt($expiration) n /home/public_html/wp-content/themes/champion/framework/plugins/mobile-detect/src/Cache/CacheItem.php on line 100

Any idea how to fix this?

Using the standalone version.

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions