Currently facing the following errors:
Here's some info about my installation:
- PHP 8.1.2
- Apache 8.2
- PostgreSQL 13
- Docker 20.10.24
Here's what has happened to get to this point: I'm working on migrating my site from 3.7 to 4.3. We have a version of our website that is currently running on 3.7, being used by at least over 1500 users. We've created a copy of the Moodle files and its database and put it into another server to work around all the errors we would soon face with the upgrades.
After debugging most of our plugins that were either unsupported or broken in some other way, we eventually got to the following plugins, which we've had to manually fix issues for.
After fixing most of the issues that were created by those plugins, we found ourselves facing issues related to the fact we did not create a copy of moodledata to start doing this migration. Meaning we've been using a newly created moodledata since the migration started, mostly due to the fact that the moodledata folder is quite big (around 139GB) due to how much data has been created from the years of use the website has faced.
So what we did was create a copy of the moodledata folder and bring it over to the test server to see which issues were caused by missing files stored in moodledata. However, after doing so, we started seeing the error shown in the first screenshot seen on my post here.
Here's a few things we've tried so far with little to no success:
- Deleted the Cache folders inside moodledata
- Stopped our Docker from copying moodledata entirely in the hopes it would create a new one
- Tried running both purge_caches.php and upgrade.php
To be clear, we've followed the procedure where we have to go through certain Moodle versions to get to 4.3. We haven't just changed it to 4.3 expecting it to work.
I should add that before logging in as admin, I can see the front page just fine, and some of the courses as well. But as soon as I try going into the administration settings page, I'm faced with that error, and can't do anything. We haven't meddled with any of the core code as far as I'm aware.
Thanks in advance,
Daniel