Moodle 3.9+ (Build: 20200626) -Activity Chooser Hangs

Re: Moodle 3.9+ (Build: 20200626) -Activity Chooser Hangs

by Adam Brożyński -
Number of replies: 4

Cause:

  • quizaccess_safebrowser was replaced by quizaccess_seb

Solution:

  1. Open moodle database in phpmyadmin
  2. Go to prefix_config_plugins table where prefix is your prefix for moodle tables
  3. Remove row with quizaccess_safebrowser in plugin column.
  4. Go to Site administration→Developement→Purge caches and Purge all caches

Regards,
Adam

Average of ratings: Useful (1)
In reply to Adam Brożyński

Re: Moodle 3.9+ (Build: 20200626) -Activity Chooser Hangs

by Pasadena Bible College -

This solution worked for me.

Moodle 3.9.1+ (Build: 20200723) | Version 2020061501.03 

In reply to Adam Brożyński

Re: Moodle 3.9+ (Build: 20200626) -Activity Chooser Hangs

by Ronnie Zeiller -
Hi Adam,
tried it but it did not help.
But the error message in javascript console changed to:
{message: "Invalid user", errorcode: "invaliduser", backtrace: "* line 1599 of /lib/dml/moodle_database.php: dml_m…: call to external_api::call_external_function()↵", link: "https://moodle.waldorf-campus-wien.at/", moreinfourl: "https://docs.moodle.org/39/en/error/moodle/invaliduser", …}backtrace: "* line 1599 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown↵* line 1575 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()↵* line 6496 of /lib/accesslib.php: call to moodle_database->get_record()↵* line 108 of /course/classes/local/service/content_item_service.php: call to context_user::instance()↵* line 277 of /course/classes/local/service/content_item_service.php: call to core_course\local\service\content_item_service->get_recommendations()↵* line 4287 of /course/externallib.php: call to core_course\local\service\content_item_service->get_content_items_for_user_in_course()↵* line 261 of /lib/externallib.php: call to core_course_external::get_course_content_items()↵* line 81 of /lib/ajax/service.php: call to external_api::call_external_function()↵"debuginfo: "SELECT id FROM {user} WHERE id = ? AND deleted = ?↵[array (↵ 0 => '1',↵ 1 => 0,↵)]↵Error code: invaliduser"errorcode: "invaliduser"link: "https://moodle.domain.tld/"message: "Invalid user"moreinfourl: "https://docs.moodle.org/39/en/error/moodle/invaliduser"__proto__: Object

Any more ideas?

Thank You,
best regards
Ronnie
In reply to Ronnie Zeiller

Re: Moodle 3.9+ (Build: 20200626) -Activity Chooser Hangs

by Ken Task -
Picture of Particularly helpful Moodlers

https://moodle.waldorf-campus-wien.at/
auto forwards to another host:
https://moodle3.waldorf-campus-wien.at/

same IP address in DNS ...

What is url in config.php?

'SoS', Ken


In reply to Ken Task

Re: Moodle 3.9+ (Build: 20200626) -Activity Chooser Hangs

by Ronnie Zeiller -
Hi Ken,
thank you for follow up.

url moodle.waldorf..... was the firstly updated version to 3.9 which did not work

The new url is moodle3.waldorf.... which is now a weekly built version 3.9.1+
(The different urls have been just for safety reasons to keep the database and moodle-data directoriy for the different versions)


With this version Moodle 3.9.1+ (Build: 20200807) I got it running again and the Activity Chooser is also working again!

So this is solved for me,
thank you all,

Ronnie

P.S.: for all with similar "invalid user" - error, which I mentioned above: The reason for this error message was the deleted "Guest User"!
Discussed here: https://tracker.moodle.org/browse/MDL-69076
(In my moodle database was for username=guest => deleted=1 which I had to correct to deleted=0)