$ 0 0 by Carles Franquesa. Solved, This time the mistake was the function "enrol_manual_unenrol_users" was not in the external services functions. Once added, things work.