Hi,
Our environment is as follows:
Debian 9.12, Apache 2.4.25; PHP 7.2.21; MariaDB 10.4.12
We were running moodle latest 3.7 (From August 1, 2019), and upgraded to latest moodle 3.8.1+ (from yesterday). The upgrade seems to have completed, but at the very end there was this exception thrown:
Exception - Argument 1 passed to core_admin\local\settings\filesize::parse_bytes() must be of the type integer, string given, called in [dirroot]/admin/classes/local/settings/filesize.php on line 130
The site is functional on the new version, except that whenever we try and do a search, we get that exact error message. The problem seems to have to do with /html/admin/classes/local/settings/filesize.php
Here is what I think is the relevant section in that file:
124 public function get_setting(): ?array {
125 $bytes = $this->config_read($this->name);
126 if (is_null($bytes)) {
127 return null;
128 }
129
130 return self::parse_bytes($bytes);
Any ideas what may be the problem?
TIA!