Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.3.2
-
MOODLE_23_STABLE
-
MOODLE_23_STABLE
-
wip-mdl-35787
-
Description
Warning encountered while enrolling students in remote course
Strict standards: Creating default object from empty value in /var/www/im/mnet/service/enrol/course.php on line 66 Call Stack: 0.0004 755464 1.
Steps to reproduce:
# Log in as admin to site which has mnet site
# Go to Remote enrolments client (Site administration -> Networking -> Remote enrolments client)
# Click "Edit enrolments" next to mnet site information
# Click "Edit enrolments" next to remote course
# Above warning is visble.
Warning encountered while accessing remote course
Strict standards: Only variables should be passed by reference in /var/www/m/auth/mnet/auth.php on line 381 Call Stack: 0.0002 666248 1. {main}
() /var/www/m/auth/mnet/land.php:0 0.0951 30780144 2. auth_plugin_mnet->confirm_mnet_session() /var/www/m/auth/mnet/land.php:39
Steps to reproduce:
- Enrol user 1 in remote course
- Login as user1 and go to my home page
- Click on remote course and you will see above warning.