I'm trying to update moodle from 3.10 to 4.3. I know that there is no direct update, so I need to first update the moodle to 4.0 as intermediate step. This is the procedure I did:
- To test, I created a virtual machine and copied the 3.10 version of moodle to /var/www/http folder.
- In the same folder I created two more versions, 4.0 and 4.3.
- I created two mysql databases, one for the version 3.10 (this database is isolated because I want to have a backup), and the other for the upgrade, which will be used to upgrade the moodle from 3.10 to 4.0 and then 4.3.
- The upgrade from 3.10 to 4.0 is done using apache2 + php7.4, while the upgrade from 4.0 to 4.3 is done using apache2 + php8.1.
- All the custom plugins where copied first from 3.10 to 4.0 and then from 4.0 to 4.3
- The upgrade from 3.10 to 4.0 worked "fine", just a few problems in the layout.
- The upgrade from 4.0 to 4.3 worked just like the above, but when I try to open the webiste (http://ipaddress/moodle) it throws an error "Fatal error: Declaration of theme_adaptable\output\core\course_renderer::course_modchooser($modules, $course) must be compatible with core_course_renderer::course_modchooser() in /var/www/html/moodle-updated/theme/adaptable/classes/output/core/course_renderer.php".
Do you have any idea on why this is happening?
Thanks