Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP8.2 Creation of dynamic property qtype_pmatchjme_answer::$atomcount is deprecated #24

Open
aspark21 opened this issue Dec 29, 2024 · 0 comments

Comments

@aspark21
Copy link

PHP8.2
Moodle4.5

Test importing pattern match with JME questions/import pattern match with JME question.
And I press "id_submitbutton": Moodle exception: Exception - Unknown error type: Creation of dynamic property qtype_pmatchjme_answer::$atomcount is deprecated in [dirroot]/question/type/pmatchjme/questiontype.php on line 49 More information about this error

Exception - Unknown error type: Creation of dynamic property qtype_pmatchjme_answer::$atomcount is deprecated in [dirroot]/question/type/pmatchjme/questiontype.php on line 49
More information about this error


    
Debug info: 
 
Error code: generalexceptionmessage
    
        
×
        
Dismiss this notification
    

	* line 157 of /lib/behat/lib.php: Exception thrown
	* line 49 of /question/type/pmatchjme/questiontype.php: call to
behat_error_handler()
	* line 115 of /question/type/pmatchjme/questiontype.php: call to
qtype_pmatchjme_answer->__construct()
	* line 444 of /question/type/pmatch/questiontype.php: call to
qtype_pmatchjme->initialise_question_answers()
	* line 972 of /question/type/questiontypebase.php: call to
qtype_pmatch->initialise_question_instance()
	* line 294 of /question/engine/bank.php: call to
question_type->make_question()
	* line 284 of /question/engine/bank.php: call to
question_bank::make_question()
	* line 190 of /question/type/pmatch/questiontype.php: call to
question_bank::load_question()
	* line 181 of /question/type/pmatch/questiontype.php: call to
qtype_pmatch->save_rule_matches()
	* line 79 of /question/type/pmatchjme/questiontype.php: call to
qtype_pmatch->save_question_options()
	* line 506 of /question/format.php: call to
qtype_pmatchjme->save_question_options()
	* line 127 of /question/bank/importquestions/import.php: call to
qformat_default->importprocess()
 (Exception)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant