-
Bug
-
Resolution: Fixed
-
Major
-
None
-
2.2.3
-
None
While registering a site to my local hub, I am getting following error:
Debug info:
|
Error code: <div>Passwords must be at least 8 characters long.</div><div>Passwords must have at least 1 digit(s).</div><div>Passwords must have at least 1 lower case letter(s).</div><div>Passwords must have at least 1 upper case letter(s).</div><div>Passwords must have at least 1 non-alphanumeric character(s).</div>
|
$a contents:
|
Stack trace:
|
|
line 56 of /user/lib.php: moodle_exception thrown
|
line 1365 of /local/hub/lib.php: call to user_create_user()
|
line 1182 of /local/hub/lib.php: call to local_hub->create_hub_token()
|
line 341 of /local/hub/siteregistration.php: call to local_hub->register_site()
|
line 295 of /local/hub/siteregistration.php: call to process_registration()
|
|
Output buffer: Strict standards: Creating default object from empty value in /var/www/hub/local/hub/lib.php on line 1356 Call Stack: 0.0008 854480 1. {main}() /var/www/hub/local/hub/siteregistration.php:0 0.4280 36909856 2. process_registration() /var/www/hub/local/hub/siteregistration.php:295 0.4281 36910368 3. local_hub->register_site() /var/www/hub/local/hub/siteregistration.php:341 0.4809 37117088 4. local_hub->create_hub_token() /var/www/hub/local/hub/lib.php:1182
|
Steps to reproduce:
- Create a local hub site, by downloading local hub plugin from https://github.com/moodlehq/moodle-local_hub
- Configure hub (Site administration -> Hub -> Settings) and set it as "Don't publish this hub or courses (Private hub)"
- From test site go to Hubs page (Site administration -> server -> hubs)
- Enter Private hub url and password (for the hub site you configured in step 2) and press "Select hub"
- Then click on "Register with
{HUB_URL}
"
- if captcha is on the enter captcha and press "confirm registration"
- You will see above error.
FYI:
http://moodle.org/plugins/pluginversions.php?plugin=local_hub is out-of-date and should be updated as well.
- has been marked as being related by
-
MDLSITE-4687 Hub registration updates fail
-
- Resolved
-
- will help resolve
-
MDLQA-1935 CLONE - An administrator can unregister a site
- Passed