Problem/Motivation
on PHP 8.1, we are seeing an fatal crash when attempting to create new questions for quizzes.
Steps to reproduce
Update to PHP 8.1, then create a new quiz and a new question.
Proposed resolution
This is a pretty well-known problem and solution, so I suggest we just patch the problematic code.
Remaining tasks
- patch quiz_question.core.inc to fix the issue
- ensure no other places need this fix
User interface changes
n/a
API changes
n/a
Data model changes
n/a
Issue fork quiz-3419807
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3419807-typeerror-arraymerge-argument
changes, plain diff MR !24
Comments
Comment #4
chetan 11 commentedPlease check the above MR.
Comment #5
mark.labrecqueLooks good to me
Comment #7
smustgrave commentedWith D7 approaching EOL have started to triage the D7 queue. Since this was small and RTBC will merge and plan 1-2 more D7 releases in the coming months.