Hi,
Please help me, I am having a problem when I want to log in, it appears as below:
Error view:
My system detail:
Log nginx:
2024/06/10 20:26:50 [error] 1111#1111: *18 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function hasPerm() on null in /var/www/html/intix/include/class.staff.php:616
Stack trace:
#0 /var/www/html/intix/include/class.nav.php(174): Staff->hasPerm()
#1 /var/www/html/intix/include/class.nav.php(39): StaffNav->getSubMenus()
#2 /var/www/html/intix/include/class.nav.php(107): StaffNav->__get()
#3 /var/www/html/intix/scp/tickets.php(485): StaffNav->addSubMenu()
#4 /var/www/html/intix/scp/index.php(17): require('...')
#5 {main}
thrown in /var/www/html/intix/include/class.staff.php on line 616" while reading response header from upstream, client: 202.75.18.138, server: mywebsite, request: "GET /scp/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "mywebsite", referrer: "https://mywebsite/scp/login.php"