I install and update all necessary php packages, Apache2, MySQL, set up a root password, install all additional software, update and upgrade packages (including git), restart apache, obtain the most recent branch, copy the local repository to /var/www/html/, create the table within MySQL, and create my user ID attached to the table;
mid and late-March, I was able to do all of this and then access the public IP of the newly set up Apache2 server, from which I would then use ip.address.of.server/moodle to install Moodle; however, after trying to do the same thing after April 1st (we paused in the final few days of March because we'd gone over our free tier limit for testing), after performing the steps above, I now get the error when attempting to perform the install;
Fatal error: Method lang_string::__set_state() must take exactly 1 argument in /var/www/html/moodle/lib/moodlelib.php on line 10603
After checking the php file, this is the line in question;
The closest thing I've found to this on the forum is this thread that has a similar error, though using XAMPP; obviously I'm not using XAMPP, but is that error related to my own? I'm using Moodle 3.9.6+, MySQL Ver 8 and all php software is 7.4, in-line with the Ubuntu installation guide linked above.
I'm fairly new to Linux and Moodle (and AWS, not sure how much of an effect that will have on the installation process), so I'd appreciate the help, and will try to offer any additional information needed.