Krassmus / LernmodulePlugin

2 stars 9 forks source link

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

Closed tleilax closed 2 years ago

tleilax commented 2 years ago

Stud.IP 5.1

2022/09/04 13:48:03 [error] 16670#16670: *47813 FastCGI sent in stderr: "PHP message: TypeError: Argument 2 passed to Deputy::isDeputy() must be of the type string, null given, called in /var/www/studip-5.1/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 /var/www/studip-5.1/lib/phplib/Seminar_Perm.class.php(191): Deputy::isDeputy('9e41fa204290ffd...', NULL)
#1 /var/www/studip-5.1/lib/phplib/Seminar_Perm.class.php(123): Seminar_Perm->get_uncached_studip_perm(NULL, '9e41fa204290ffd...')
#2 /var/www/studip-5.1/lib/phplib/Seminar_Perm.class.php(219): Seminar_Perm->get_studip_perm(NULL, '9e41fa204290ffd...')
#3 /var/www/studip-5.1/public/plugins_packages/RasmusFuhse/LernmodulePlugin/lib/H5pLernmodul.php(94): Seminar_Perm->have_studip_perm('tutor', NULL)
#4 /var/www/studip-5.1/public/plugins_packages/RasmusFuhse/LernmodulePlugin/views/lernmodule/view.php(7): H5pLernmodul->getViewerTemplate(Object(LernmodulAttempt), NULL)
#5 /var/www/studip-5.1/vendor/flexi/lib/php_template.php(46): require('/var/www/studip" while reading response header from upstream, client: 2a02:8109:b40:6a90:8dc:11ab:baa4:fd78, server: elearning.uni-oldenburg.de, request: "GET /plugins.php/lernmoduleplugin/lernmodule/view/f2b6dacdfe1be0084b743f8960ae407b HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "elearning.uni-oldenburg.de", referrer: "https://elearning.uni-oldenburg.de/dispatch.php/oer/market/details/779353d9c248b623910d2f53897bb695"