Hello Mark,
As mod/customcert/element/userfield/lib.php try to include lib/conditionlib.php and to use condition_info::get_condition_user_fields it is no more working with recent Moodle versions.
But as I don't know how conditionlib was working and how core_availability classes are now working I don't know how to upgrade this code. Can you help ? Thanks. Jean-Michel
Hello Mark, As mod/customcert/element/userfield/lib.php try to include lib/conditionlib.php and to use condition_info::get_condition_user_fields it is no more working with recent Moodle versions. But as I don't know how conditionlib was working and how core_availability classes are now working I don't know how to upgrade this code. Can you help ? Thanks. Jean-Michel