mobile-detect
mobile-detect copied to clipboard
$template->getMobileDetectService($vars) is deprecated
I use Nette 2.4.x and PHP 5.6.25, but unfortunately I get the following error message when I use it in Latte {ifMobile}.
Invoking filters via $template->getMobileDetectService($vars) is deprecated, use ($vars|getMobileDetectService)
I've tried different versions of MobileDetect, but there's no one Thanks in advance for your advice.