After updating moodle from 2.6 to 3.2 I have a problem when trying to enroll a user to a lesson.
Exception - Call to a member function get_grade_item() on boolean
from php logs i get:
PHP catchable fatal error Debug: Object of class enrol_manual_plugin could not be converted to string
Error code: codingerror
* line 426 of \lib\setuplib.php: coding_exception thrown
* line 170 of \enrol\manual\ajax.php: call to default_error_handler()
After the error, if I hit again enroll the enrollment process completes successfully.
Can you help me?