-
Bug
-
Resolution: Fixed
-
Major
-
4.2
-
MOODLE_402_STABLE
-
MOODLE_402_STABLE
-
We are getting this deprecation warning with PHP 8.1:
PHP Deprecated: Optional parameter $entryid declared before required parameter $field is implicitly treated as a required parameter in /var/www/html/mod/data/classes/template.php on line 976
|
And its causing both PHPUnit and Behat to fail/be marked as risky:
- PHPUnit (ignore the errors, they are handled in another issue): https://ci.moodle.org/view/Testing/job/DEV.81%20-%20PHP%208.1%20PHPUnit%20-%20master/119/
- Behat: https://ci.moodle.org/view/Testing/job/DEV.81%20-%20PHP%208.1%20Behat%20(js)%20-%20master/103/
Recording for posterity the source of those timezone errors:
- https://github.com/php/php-src/issues/10218
- https://github.com/php/php-src/commit/d12ba111e03fa4e6d76a66a029f5dbe6265b1ea9
- https://www.php.net/ChangeLog-8.php#8.1.15
Fixed bug GH-10218 (DateTimeZone fails to parse time zones that contain the "+" character).
- is a regression caused by
-
MDL-75498 Add ##otherfields##, [[FIELD#name]] and [[FIELD#description]] tags to the database templates
-
- Closed
-