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

Session mutation bugs with debugging on #100

Open
brendanheywood opened this issue Oct 12, 2023 · 1 comment
Open

Session mutation bugs with debugging on #100

brendanheywood opened this issue Oct 12, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@brendanheywood
Copy link
Contributor

I'm getting these bugs fairly often, but not 100% of the time when editing templates. I have show debugging on and

image

Warning: Undefined array key 0 in /var/www/master/mod/cms/classes/local/renderer.php on line 87
Skip to main content
Changes saved×Dismiss this notification
This page should automatically redirect. If nothing is happening please use the continue link below.×Dismiss this notification
(Continue)
Error output, so disabling automatic redirect.

Script /mod/cms/managetypes.php?action=edit&id=1 mutated the session after it was closed: $SESSION->notifications
line 791 of /lib/classes/session/manager.php: call to debugging()
line ? of unknownfile: call to core\session\manager::check_mutated_closed_session()
line 159 of /lib/classes/shutdown_manager.php: call to call_user_func_array()
line ? of unknownfile: call to core_shutdown_manager::shutdown_handler()

@brendanheywood brendanheywood added the bug Something isn't working label Oct 12, 2023
@marcusboon
Copy link
Contributor

Probably happens if customfields and/or userlist is checked but no fields are defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants