Tell us what you are trying to do?
Hi Toolset-Support,
we are moving a WordPress Website to a new Server and Database. After moving the site, some of the Toolset Views are not connected to the corresponding Custom Post Types. When visiting the Toolset Dashboard only some Custom Post Types have their "Views" connected under the "Views" column. We can't connect the "Views" to the "Post Types" manually because the process of server move is automated.
The weird thing is, that some have their Views connected and some don't. Is there any setting that has to be set maybe. I could not find any. I tried to figure out, where the connection might be set in the Database without any luck.
Something to note. Toolset is fully activated on the new Server and all mentions of the old Server URL and Paths are changed to the new Server URL and Paths.
Is there any documentation that you are following?
Is there a similar example that we can see?
What is the link to your site?
Hi,
Thank you for contacting us and I'd be happy to assist.
Are you able to select the post type in the view's settings, after migration has completed? I'm not sure exactly which tool or plugin was used for this migration process, but officially we use and recommend the following two plugins to migrate/clone websites safely:
1. Duplicator – WordPress Migration Plugin
https://wordpress.org/plugins/duplicator/
2. All-in-One WP Migration
https://wordpress.org/plugins/all-in-one-wp-migration/
regards,
Waqar
Hi Waqar,
ty for the quick response.
Yes we can manually connect the views to the post types but even if we do that, all the filters are not set anymore.
Also we can't manually connect the views every time, because the migration is part of an automated CI Pipeline.
We don't use any Migration Tool, because they weren't sufficient for our process. The migration is fully custom made.
regards.
Josua
Hi Josua,
Toolset and some other plugins and themes store the data in serialized form in the database. But when a generic search and replace is performed for the domain or baseURL, it can cause an issue with that serialized data.
If you're losing the view settings, upon migration then it means that the serialized data is getting affected through this custom-made migration.
You'll find some suggestions to avoid this in the following official guide from WordPress:
https://developer.wordpress.org/advanced-administration/upgrade/migrating/#changing-your-domain-name-and-urls
regards,
Waqar
Hi Waqar,
ty very much. It seems to be working when using the "wp-cli "search-replace" command in the migration script for the database.
Have a nice day.
regards,
Josua