CornerStone post_meta structure

Regarding my previous question: https://theme.co/apex/forum/t/cornerstone-refuses-to-edit-pake/23266

I need som documentation on how these post_meta value should be structed to CornerStone to accept them, reverting the backup is not an issue for us, so we need a way to fix it. I have spend a lot of time looking through code to figure out how to get it working again.

You said it could be because of incomplete migration, what migration steps in particulare do you think we missed?

Edit: It looks like the _cornerstone_data contains a json blob, said blod contains a url. The urls has probably been altered by the migration-progress, will there be some kind of checksum that we have to vaidate as well?

Edit again: It’s not a json blob, it’s just a serialized php structure, and decoding the structure in questions yeilds an error. What i don’t understand is that the content apperently works when trying to view the site - but when editing, it fails, why is this?

Is the meta-data only used for editing maybe?

Maybe the serilization was broken once the containing url was replaced with either a longer string or a string that did not match a certain checksum?

Any ideas?

Hey @Broend,

Yes, the serialized post meta data is the one being used by Cornerstone. Once a page has been built, it generates shortcodes in your content and that is what you see in the front-end. If you have migrated your site and your migration process does not support serialized data, you won’t have the builder’s data but only the content shortcodes. Here’s the correct migration process https://theme.co/apex/forum/t/cornerstone-content-builder-migration/126

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.