I am in the process of creating a rather larger wordpress multisite. At its core I am converting a previous access database to mysql, and importing that data into mysql. There is one site setup in the wordpress install and during the import we are cloning the base site for each potential multi site. That’s really all you need to know for that.
When I do the duplication or ‘clone’ process using php to grab the wordpress tables and data I am currently at a loss as to why the User Meta Pro data is not duplicating correctly. Every other plugin, and wordpress table properly duplicates/clones itself during this process.
Is there someone who can tell me the specific data entry of the plugin and if the blog id changes, I’ve looked and properly duplicated the actual plugin data BUT on each created multisite the settings are blank.
Is there a hidden field or data that I am potentially missing? Help on this would be fantastic!
Using the Export and import process manually is not realistic as the multisite is about a 100 or so sites.
At its core all I need to do is: Take the plugin data from one multisite and duplicate it for another multisite via the table data.
This topic was modified 10 years, 4 months ago by laurellindsay.
UMP store all user’s data to wp_users and wp_usermeta table as WordPress standard, so if you clone perfectly those two table, all user’s data should be accessible.
UMP uses wp_options table to store fields, forms and settings of UMP. More specifically,
we use following keys:
user_meta_config
user_meta_emails
user_meta_export
user_meta_fields
user_meta_forms
user_meta_history
user_meta_settings
So please check data for those keys in wp_options table.
When duplicated the wp_15_options table (the 15 is the blog number associated with the multisite and the cloned copy) contains the original wp_5_options data (The site I am cloning).
All form data, recaptcha keys, etc.. do not transfer on the clones. Is there a blog_id number somewhere in the table copy (wp_options) that needs to be corrected — something is not adding up here.
We do not store any blog id for forms or fields. just make sure wp_options table are cloned properly. And what is the status of your license validation of each site? Is UMP for every site under the network shows active/validated? And which version of UMP you are using right now?
For your reference I have used pastebin to show you my original wp_options table. This is the original site where the other options table will be cloned.
I took your advice and started over… whatever value was causing the plugin to not update correctly has been fixed. I appreciate your help Khaled and thank you for letting me know which meta keys the plugin uses explicitly.
Author
Posts
Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.AcceptRead More
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.