Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sec token error in course approval #5416

Open
ywarnier opened this issue Apr 23, 2024 · 0 comments
Open

Sec token error in course approval #5416

ywarnier opened this issue Apr 23, 2024 · 0 comments
Labels
Milestone

Comments

@ywarnier
Copy link
Member

An error appears sometimes when doing some forward/back actions:

PHP Fatal error: Uncaught TypeError: Return value of Security::getTokenFromSession() must be of the type string, null returned in web/htdocs/main/inc/lib/security.lib.php:143
Stack trace:
#0 web/htdocs/main/admin/user_information.php(76): Security::getTokenFromSession()
#1 {main}\n thrown in web/htdocs/main/inc/lib/security.lib.php on line 143 Referer: main/admin/course_request_review.php?reject_course_request=96

The error should be caught to avoid triggering a fatal error.

@ywarnier ywarnier added the Bug label Apr 23, 2024
@ywarnier ywarnier added this to the Undefined milestone Apr 23, 2024
@ywarnier ywarnier changed the title Security token error in course approval Sec token error in course approval Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant