Custom code broken between Moodle 3.5 and 3.6 - looking for advice

Re: Custom code broken between Moodle 3.5 and 3.6 - looking for advice

by Mark Johnson -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

It should be a fairly simple case of replacing $sp_notify = new stdClass(); with $sp_notify = new core\message\message();.

If that gives you different errors, post lines 179-188 and we should be able to see why.

Average of ratings: Useful (1)