Hello Mr. Sj?lshagen, I inform you that I introduced a Hook in Function.php from the Sub site Club:
function add_user_meta_capabilities () {
global $wpdb ;
$id = $wpdb->get_var( "SELECT id FROM $wpdb->users ORDER BY id DESC LIMIT 1" );
$cap = [ "subscriber" => true ];
if (empty(get_user_meta($id, 'wpyc_3_capabilities', true))) add_user_meta( $id , 'wpyc_3_capabilities', $cap );
if (empty(get_user_meta($id, 'wpyc_2_capabilities', true))) add_user_meta( $id , 'wpyc_2_capabilities', $cap );
if (empty(get_user_meta($id, 'wpyc_4_capabilities', true))) add_user_meta( $id , 'wpyc_4_capabilities', $cap );
}
add_action ('added_user_meta' , 'add_user_meta_capabilities', 10);
While waiting for your fix that say I have a problem it must be done twice why? I did not understand and the second time I have this message in the textarea status:
Loading...
JavaScript Loaded.
Error during import (# of errors: 5):
Warning: The payment gateway integration provided (membership_gateway: stripe) is not one of the supported payment gateway integrations! (Changed and using the default value for user (ID: 832) )
Warning: May cancel membership for user (ID: 833) since there is no membership ID assigned for them.
Error: The membership ID (0) specified for this user (ID: 833) is not a defined membership level, so we can't assign it. (Membership data not imported!)
Warning: The payment gateway integration provided (membership_gateway: paypalexpress) is not one of the supported payment gateway integrations! (Changed and using the default value for user (ID: 833) )
Warning: The payment gateway integration provided (membership_gateway: paypalexpress) is not one of the supported payment gateway integrations! (Changed and using the default value for user (ID: 834) )