Warning: Undefined variable $AUTH in /var/www/freelance/internal/inventory/admin/auth/check_roles.php on line 2

Fatal error: Uncaught Error: Call to a member function hasAnyRole() on null in /var/www/freelance/internal/inventory/admin/auth/check_roles.php:2 Stack trace: #0 {main} thrown in /var/www/freelance/internal/inventory/admin/auth/check_roles.php on line 2