Hi there.
I received the following error after the IT administrator in the company left.
Fatal error: Uncaught Error: Call to undefined function current_language() in /usr/www/users/projehvusv/moodle/lib/setuplib.php:713 Stack trace: #0 /usr/www/users/projehvusv/moodle/lib/setuplib.php(572): get_docs_url() #1 /usr/www/users/projehvusv/moodle/lib/setuplib.php(363): get_exception_info(Object(ArgumentCountError)) #2 [internal function]: default_exception_handler(Object(ArgumentCountError)) #3 {main} thrown in /usr/www/users/projehvusv/moodle/lib/setuplib.php on line 713
It is a problem with our Moodle and I was hoping someone could assist me with this issue.
Is there a way to resolve this?
Currently running PHP 8.1 as we had to update it due to another system. Now we are receiving this error message when trying to access Moodle.