willianmano / moodle-theme_moove

A Moodle Boost child theme
GNU General Public License v3.0
171 stars 157 forks source link

Edit mode profile page #382

Closed helene569 closed 2 years ago

helene569 commented 2 years ago

Describe the bug Profile page in edit mode not possible Also, on the profile page, with this theme, the "Open block drawer" tab does not appear on the right. Also, when bypassing the error and in "Edit Mode", the "Reset Page" button does not appear on the profile page.

To Reproduce Steps to reproduce the behavior: Profile page Click on edit mode Debugging message : Erreur Utilisateur non valide Debug info: SELECT * FROM {user} WHERE id = ? [array ( 0 => 0, )] Error code: invaliduser Stack trace: line 1646 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown line 1622 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select() line 32 of /theme/moove/layout/mypublic.php: call to moodle_database->get_record() line 1470 of /lib/outputrenderers.php: call to include() line 1396 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line 203 of /user/profile.php: call to core_renderer->header()

Your environment (please complete the following information):