ErrLookup › serbanghita/Mobile-Detect

serbanghita/Mobile-Detect

Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment. · PHP · 16 source files

Analyzed at 6ab7b0404d on 2026-08-21. 10 documented errors.

Code / MessageTypeSeverityTags
cacheKeyFn is not a function.
exception error cache, configuration, callable, mobile-detect, php
IS_TABLET_ERR
Cache problem in isTablet()
exception error cache, psr-16, tablet, wrapper-exception, php
Cache key must be a string.
exception error cache, psr-16, invalid-argument, type-error, php
INVALID_USER_AGENT_ERR
No valid user-agent has been set.
exception error user-agent, initialization, mobile-detect, fail-fast, php
IS_MOBILE_ERR
Cache problem in isMobile()
exception error cache, psr-16, mobile-detect, wrapper-exception, php
TTL must be null, int, or DateInterval.
exception error cache, psr-16, ttl, invalid-argument, php
IS_MAGIC_ERR
Cache problem in is()
exception error cache, psr-16, magic-methods, wrapper-exception, php
must be iterable.
exception error cache, psr-16, iterable, invalid-argument, php
Invalid key: '$key'. Must be alphanumeric, can contain _…
exception error cache, psr-16, key-format, validation, php
No such method exists: $name
exception error magic-methods, bad-method-call, api-misuse, php, user-agent