Site Migration - Custom field connections are gone
- This topic has 6 replies, 2 voices, and was last updated 2 years, 6 months ago by
Long Nguyen.
-
AuthorPosts
-
October 16, 2022 at 10:42 AM #38675
Vlhh
ParticipantMigrating from shared hosting to vps (lightsail) that is managed via ServerAvatar and noticed the custom fields are not connected to the posts.
First I tried backing up / restoring with wpvivid: They are messed up
Then manual migration (copy wp-content folder, export/import database and connecting it via wp-config.php): They are messed up
Now clean install again and using wordpress native export/import tool: They are messed up
In any of these cases if I try to edit any of the field groups on the new site, they just keep loading. "Loading fields, please wait..."
I've lost like 12 working hours so far trying to solve this. At some point I was thinking that maybe it has something to do with the db charsets as they differ between the WordPress intallations. https://stackoverflow.com/questions/71540009/mysqldump-import-into-db-with-different-charset-from-unicode-520-ci-to-utf8mb4 (Not sure if this is related at all. It's just one of the few google results regarding migration between exactly same database charsets that I am working with)
But then again after doing the native WordPress export/import and failing on that as well made me think that the charsets probably have nothing to with the issue.
Could you please provide some assistance? I am seriously losing my mind here.
October 16, 2022 at 12:58 PM #38677Long Nguyen
ModeratorHi,
Can you please export a field group to JSON file and share it here? I will help you to check the issue. Refer to this documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import
October 17, 2022 at 7:02 AM #38692Vlhh
ParticipantHi Long,
I gave a quick try for the export/import functionality but it seems that I'm only getting two field groups with same name and clicking either one of them causes the same infinite load. (see image attached)
Here is the JSON file: https://e1.pcloud.link/publink/show?code=XZiTa8ZVl7oaSJQ6o8XvowTqepXTbFc5Aey
And image from custom field groups after import: https://e1.pcloud.link/publink/show?code=XZGTa8ZyqoJWXmVf4BpH1Be1KE2dSWMUWf7
October 17, 2022 at 1:12 PM #38699Long Nguyen
ModeratorHi,
I don't see any issue after importing the field group to my local site, here is the screen record vhttps://monosnap.com/file/99k5WYnENnSLZOd1G4AKKAwANSE7q8
Can you please delete two field groups on your site and import one then check this issue again?
October 17, 2022 at 2:50 PM #38703Vlhh
ParticipantHi,
The thing is if I even create a new custom post field group, it doesn't load and I can't add new fields. This is how google chrome console looks like when I'm accessing any of them:
https://e1.pcloud.link/publink/show?code=XZl3a8ZfHIDbGyoe7QOOTnwzFrVny9E1iWX
https://e1.pcloud.link/publink/show?code=XZq3a8Z77xhBe91k7bQ2PV7XUadD42icYvX
https://e1.pcloud.link/publink/show?code=XZt3a8ZaWFQnapcCwbS4QXcnQGVfXlYfOMXCould you btw please remove the video you just posted as it has some of my dev site urls on it?
Thanks
October 17, 2022 at 3:33 PM #38706Vlhh
ParticipantHi Long,
It seems this was most likely to do with LiteSpeed Cache. I contacted my VPS service provider due the 404 errors. Creating and editing custom fields works now again.
Thanks for your assistance.
October 17, 2022 at 9:51 PM #38710Long Nguyen
ModeratorGreat.
Let me know if you have any questions. -
AuthorPosts
- You must be logged in to reply to this topic.