-
Bug
-
Resolution: Fixed
-
Minor
-
4.4
-
2
-
Team Hedgehog 2024 Sprint 1.4
This has been detected by MDL-76444 (inspecting apache logs before PHP 8.3 / Moodle 4.4 release). It was called "Problem X, Y & Z" there.
Apparently, it happens when, from the my (and others) view page, some ajax stuff or page is loaded. Here there are 3 different, but similar, stack traces:
core_calendar_get_action_events_by_timesort (happens 1000 times per behat run, estimated)
501894:[Fri Mar 08 18:57:05.108128 2024] [php:notice] [pid 7053] [client 172.24.0.5:40908] Script /behatrun1/lib/ajax/service.php?sesskey=8qf4DqQB2W&info=core_calendar_get_action_events_by_timesort defined READ_ONLY_SESSION but the following SESSION attributes were changed: $SESSION->isnewsessioncookie $SESSION->cachestore_session $SESSION->userpreviousip $SESSION->fullysetupstrict $SESSION->tool_mfa_authenticated $SESSION->custom_block_regions $SESSION->navcache $SESSION->calendarshoweventtype, referer: http://webserver2e5e798ccb8d055d/behatrun1/my/
core_course_get_enrolled_courses_with_action_events_by_timeline_classification (happens 48 times per behat run, estimated)
83280:[Fri Mar 08 18:46:48.218199 2024] [php:notice] [pid 2511] [client 172.25.0.14:33368] Script /behatrun3/lib/ajax/service.php?sesskey=a9RWfH9Cn4&info=core_course_get_enrolled_courses_with_action_events_by_timeline_classification defined READ_ONLY_SESSION but the following SESSION attributes were changed: $SESSION->isnewsessioncookie $SESSION->cachestore_session $SESSION->userpreviousip $SESSION->fullysetupstrict $SESSION->tool_mfa_authenticated $SESSION->custom_block_regions $SESSION->navcache $SESSION->calendarshoweventtype, referer: http://webserver63976c3e94796505/behatrun3/my/
core_message_send_instant_messages (happens 13 times per behat run, estimated)
246658:[Fri Mar 08 21:29:47.940414 2024] [php:notice] [pid 8204] [client 172.25.0.6:49878] Script /behatrun1/lib/ajax/service.php?sesskey=8inTnmrRiL&info=core_message_send_instant_messages defined READ_ONLY_SESSION but the following SESSION attributes were changed: $SESSION->isnewsessioncookie $SESSION->cachestore_session $SESSION->userpreviousip $SESSION->tool_mfa_authenticated $SESSION->fullysetupstrict $SESSION->fromdiscussion $SESSION->navcache $SESSION->flextable, referer: http://webserver63976c3e94796505/behatrun1/mod/forum/report/summary/index.php?courseid=100000&forumid=382000
It has been detected in main (4.4dev) although it may affect to previous (stable) branches too.