Has anyone seen this error before? All of a sudden started happening. Same response even if the DB credentials are invalid. latest version of 3.10.3+ on Linux/apache2/php 7.4.
Exception - Return value of moodle_database::get_columns() must be of the type array, string returned
Debug info:
Error code: generalexceptionmessage
Stack trace:
- line 1161 of /lib/dml/moodle_database.php: TypeError thrown\
- line 662 of /lib/dml/moodle_database.php: call to moodle_database->get_columns()
- line 1703 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
- line 1490 of /lib/moodlelib.php: call to moodle_database->get_field()
- line 798 of /lib/setuplib.php: call to get_config()
- line 658 of /lib/setup.php: call to initialise_cfg()
- line 66 of /config.php: call to require_once()
- line 30 of /index.php: call to require_once()