Skip Navigation

[Resolved] Toolset Views are not connected to there Post Type after server move

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Waqar 2 months, 1 week ago.

Assisted by: Waqar.

Author
Posts
#2682921

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?

#2683097

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

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

#2683135

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

#2683197

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

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

#2683795

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

Dietrich confirmed that the issue was resolved on 2024-02-16 13:57:49.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.