Krassmus / LernmodulePlugin

2 stars 9 forks source link

TypeError: Argument 2 passed to Deputy::isDeputy() must be of the type string, null given #15

Closed tleilax closed 10 months ago

tleilax commented 10 months ago
2024/01/03 10:52:36 [error] 4073#4073: *224506921 FastCGI sent in stderr: "PHP message: TypeError: Argument 2 passed to Deputy::isDeputy() must be of the type string, null given, called in lib/phplib/Seminar_Perm.class.php on line 191 and defined in /var/www/studip-5.1/lib/models/Deputy.php:139
Stack trace:
#0 lib/phplib/Seminar_Perm.class.php(191): Deputy::isDeputy('ce81a2eb972ecaa...', NULL)
#1 lib/phplib/Seminar_Perm.class.php(123): Seminar_Perm->get_uncached_studip_perm(NULL, 'ce81a2eb972ecaa...')
#2 lib/phplib/Seminar_Perm.class.php(219): Seminar_Perm->get_studip_perm(NULL, 'ce81a2eb972ecaa...')
#3 public/plugins_packages/RasmusFuhse/LernmodulePlugin/views/participants/index.php(34): Seminar_Perm->have_studip_perm('dozent', NULL)
#4 vendor/flexi/lib/php_template.php(46): require('/var/www/studip...')
#5 vendor/flexi/lib/template.php(157): Flexi_PhpTemplate->_render()
#6 vendor/trails/trails.php(764): Flexi_Template->" while reading response header from upstream, client: 1.2.3.4, server: elearning.uni-oldenburg.de, request: "GET /plugins.php/lernmoduleplugin/participants?cid=abcde HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "elearning.uni-oldenburg.de", referrer: "https://elearning.uni-oldenburg.de/plugins.php/lernmoduleplugin/lernmodule/overview?cid=abcd"