akaunting / laravel-firewall

Web Application Firewall (WAF) package for Laravel

Home Page:https://akaunting.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Call to undefined method Akaunting\Firewall\Middleware\Agent::isMobile()

abedputra opened this issue · comments

Hi,

Thanks for the great library.

I want to report error, when I fill agent => devices

'devices' => [
                'allow' => ['Mobile'], // i.e. 'Desktop', 'Mobile'
                'block' => [], // i.e. 'Tablet'
            ],

Error

Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined method Akaunting\Firewall\Middleware\Agent::isMobile() in file /Applications/XAMPP/xamppfiles/htdocs/ientry/vendor/akaunting/laravelfirewall/src/Middleware/Agent.php on line 122

Thank you