Open MissVeronica opened 7 months ago
Cronjob has no effect
UM Support Forum issue https://wordpress.org/support/topic/schedule-user-deletions-with-wp-cronjob-has-no-effect/
Solution: Replace um_fetch_user( $user->ID ); with um_fetch_user( $user );
um_fetch_user( $user->ID );
um_fetch_user( $user );
Note: the WP get_users function is returning in this case an array of User IDs and not a list of WP_User objects.
get_users
Cronjob has no effect
UM Support Forum issue https://wordpress.org/support/topic/schedule-user-deletions-with-wp-cronjob-has-no-effect/