Title: Import problem with multisite
Last modified: March 4, 2022

---

# Import problem with multisite

 *  [habibal](https://wordpress.org/support/users/habibal/)
 * (@habibal)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/import-problem-with-multisite/)
 *     ```
       Hello I have a multisite with 4 sub site
   
       club
       training
       blog
       test
   
       The Pmpro manages from Club
   
       I can not add a user to the sub site training
       The operation is normally unfolding, but nothing in account, have you a solution ?
       main plugins
   
       Pmpro, peepso; LMD LearnDash
       ```
   
    -  This topic was modified 4 years, 2 months ago by [habibal](https://wordpress.org/support/users/habibal/).
    -  This topic was modified 4 years, 2 months ago by [habibal](https://wordpress.org/support/users/habibal/).
    -  This topic was modified 4 years, 2 months ago by [habibal](https://wordpress.org/support/users/habibal/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Thomas S](https://wordpress.org/support/users/eighty20results/)
 * (@eighty20results)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/import-problem-with-multisite/#post-15426755)
 * Hi,
 * I’m not sure that I understand the problem you’re describing? Where are you not
   seeing the user?
 * In the WP Users table, or some other location in the database? Perhaps in WordPress
   itself?
 * Are you expecting an imported user to appear somewhere specific?
 * AFIK, multisite WordPress uses a single unified database table for all registered
   users. There may be something specific that needs to happen for a user to become
   available/visible on a specific sub-site.
 * What that is, I currently do not know.
 * A (very) quick Google search doesn’t uncover anything different between a single-
   site WordPress user and a multi-site WordPress user. I.e. that there’s more/different
   information in the user record part of the database for the two WordPress configurations.
 * Me not finding anything right now doesn’t mean much. For instance, I don’t know
   if there are specific roles that need to be assigned to a user. And I would not
   know what those might be, off the top of my head.
 * Unfortunately I have not tested this plugin for multi-site configurations either
   and it’s on my longer term “ToDo” list (adding multi-site to automated testing
   for the plugin).
    -  This reply was modified 4 years, 2 months ago by [Thomas S](https://wordpress.org/support/users/eighty20results/).
      Reason: Fix an obvious typo
 *  Thread Starter [habibal](https://wordpress.org/support/users/habibal/)
 * (@habibal)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/import-problem-with-multisite/#post-15427271)
 * I thank you for your quick reply, in fact there is in the database the table 
   wp_usermeta, there is only the wp_capabilities that corresponds to club, which
   function and I would like to have wp_3_capabilities and wp_4_capabilities, but
   there is nothing Even though during Upload the answer is DONE ! And the result
   in the console is at the AJAX query
    {“SUCCESS”: True, “Data”: {“status”: true,“
   message”: null, “display_errors”: null}} Is it normal that message = null or 
   there’s a problem?
 * [multisite screenshoot option](https://drive.google.com/file/d/1_CSW1m3ccZhCJrIrWSYCzrSPfiFpe5fN/view?usp=sharing)
    -  This reply was modified 4 years, 2 months ago by [habibal](https://wordpress.org/support/users/habibal/).
 *  Thread Starter [habibal](https://wordpress.org/support/users/habibal/)
 * (@habibal)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/import-problem-with-multisite/#post-15429239)
 * 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) )
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Import problem with multisite’ is closed to new replies.

 * ![](https://ps.w.org/pmpro-import-members-from-csv/assets/icon-256x256.png?rev
   =1920071)
 * [Import Members from CSV for Paid Memberships Pro](https://wordpress.org/plugins/pmpro-import-members-from-csv/)
 * [Support Threads](https://wordpress.org/support/plugin/pmpro-import-members-from-csv/)
 * [Active Topics](https://wordpress.org/support/plugin/pmpro-import-members-from-csv/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pmpro-import-members-from-csv/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pmpro-import-members-from-csv/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [habibal](https://wordpress.org/support/users/habibal/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/import-problem-with-multisite/#post-15429239)
 * Status: not resolved