Error "invaliduser" upgrading 3.7dev+

Error "invaliduser" upgrading 3.7dev+

by Enrique Robredo -
Number of replies: 3

Hi

Upgrading from versión 3.6.3+ (Build: 20190423) (2019041300.01) to 3.7dev+ (Build: 20190423) (2019042300.00) I have this message:


Debug info: SELECT id FROM {user} WHERE id = ? AND deleted = ?
[array (
0 => '431',
1 => 0,
)]
Error code: invaliduser


Stack trace:

  • line 1546 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
  • line 1522 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
  • line 6386 of /lib/accesslib.php: call to moodle_database->get_record()
  • line 3082 of /lib/db/upgrade.php: call to context_user::instance()
  • line 1809 of /lib/upgradelib.php: call to xmldb_main_upgrade()
  • line 518 of /admin/index.php: call to upgrade_core()

Ideas? Thanks a lot

Average of ratings: -
In reply to Enrique Robredo

Re: Error "invaliduser" upgrading 3.7dev+

by Enrique Robredo -

Solved

In reply to Enrique Robredo

Re: Error "invaliduser" upgrading 3.7dev+

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Since we are involved in the moodle 3.7 QA testing, and the upgrade is part of the testing, would be very interesting to know what was the problem to understand if it can be a bug or not.

In reply to Fernando Acedo

Re: Error "invaliduser" upgrading 3.7dev+

by Enrique Robredo -

Hi Fernando

I do not know how it is solved. I simply updated to the next revision (Build: 20190427 it was published yesterday) and I found that the error was already solved.

Regards