chamilo / chamilo-lms

Chamilo is a learning management system focused on ease of use and accessibility
https://chamilo.org
GNU General Public License v3.0
798 stars 480 forks source link

Personal data page error #4110

Open lonesomewalker opened 2 years ago

lonesomewalker commented 2 years ago

When opening the personal data page after a fresh install, you get the error:

Argument 1 passed to Agenda::loadSessionsAsEvents() must be of the type int, string given, called in /main/inc/lib/agenda.lib.php on line 1362 and defined in /main/inc/lib/agenda.lib.php

Server

NicoDucou commented 2 years ago

This should be fixed with this commit : https://github.com/chamilo/chamilo-lms/commit/4ecabee926034c4edf99d0186e5dfa9c20149fde

And this previous commit has been adapted with a better solution with commit : https://github.com/chamilo/chamilo-lms/commit/985114e583b67c1fed0f9a255672c78f1ac71980

lonesomewalker commented 2 years ago

Is this also fixed with the commit? PHP Fatal error: Uncaught Exception: Element 'extra_gdpr' does not exist in HTML_QuickForm::getElement() in /var/www/chamilo/main/inc/lib/pear/HTML/QuickForm.php:730\nStack trace:\n#0 /var/www/chamilo/main/admin/user_edit.php(368): HTML_QuickForm->getElement('extra_gdpr')\n#1 {main}\n thrown in /var/www/chamilo/main/inc/lib/pear/HTML/QuickForm.php on line 730

lonesomewalker commented 2 years ago

I think it would be a good idea to debug the whole GDPR complex, because it is mandatory in EU states... :-(