-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
4.1.10
-
MOODLE_401_STABLE
Hello we have multiple Moodle sites running on PHP 7.4. Last week we updated these sites to Moodle 4.1.10. After this update LTI 1.3 connections are broken. The error we are getting is attached. The error we are getting is: Error melding Call to undefined function core\session\utility\str_contains() https://github.com/moodle/moodle/blob/v4.1.10/lib/classes/session/utility/cookie_helper.php#L152
This PHP function (https://www.php.net/manual/en/function.str-contains.php) requires PHP 8 while Moodle 4.1 should be able to run on PHP 7.4. This PHP function therefore can not be used.
We do have servers running higher PHP versions but cannot move sites easily because of other dependencies.
Please supply us with a fix in a new release since customers now have connections that are broken.
With kind regards,
Christel Keislair
Avetica
- duplicates
-
MDL-81622 \core\session\utility\cookie_helper class uses str_contains which requires PHP 8.0
- Closed