-
Bug
-
Resolution: Fixed
-
Blocker
-
4.2.1, 4.3
-
MOODLE_402_STABLE, MOODLE_403_STABLE
-
MOODLE_402_STABLE
-
master_
MDL-78860 -
This has been detected as part of MDL-76407, when reviewing apache logs, part of the php82 epic. Also, it seems that already was reported @ MDL-77328, but not fixed there.
We are getting (8 times, surely 4 times by run) the following in apache logs:
32298:[Fri Jul 28 07:12:15.745193 2023] [php:notice] [pid 685] [client 172.26.0.5:35030] Default exception handler: Exception - Unknown error type: Creation of dynamic property question_answer::$correctanswerlength is deprecated in [dirroot]/question/type/calculatedmulti/questiontype.php on line 200 Debug:
Error code: generalexceptionmessage
- line 157 of /lib/behat/lib.php: Exception thrown
- line 200 of /question/type/calculatedmulti/questiontype.php: call to behat_error_handler()
- line 965 of /question/type/questiontypebase.php: call to qtype_calculatedmulti->initialise_question_instance()
- line 289 of /question/engine/bank.php: call to question_type->make_question()
- line 279 of /question/engine/bank.php: call to question_bank::make_question()
- line 217 of /question/bank/editquestion/question.php: call to question_bank::load_question()
, referer: http://webserver7034b1a5d076ed69/behatrun2/question/bank/editquestion/question.php?submitbutton=Add&courseid=100000&category=159001&returnurl=%2Fquestion%2Fedit.php%3Fcourseid%3D100000%26deleteall%3D1&sesskey=b4QPFMt64n&qtype=calculatedmulti
This issue is about to:
- Fix the warnings.
- Verify that they aren't happening anymore in logs.
- Discovered while testing
-
MDL-76407 Verify that the apache logs are clean of PHP 8.2 notices/warnings/errors
- Closed
- has a non-specific relationship to
-
MDL-77328 PHP 8.2: Dynamic Properties are deprecated for questionbase.php
- Closed
- has been marked as being related by
-
MDL-78934 Move from (archived) Goutte to BrowserKit
- Closed