So I had a few pages built in Cornerstone that referenced two images. Now, I didn’t like the image names (physical file name) anymore, installed Phoenix Media Rename and edited the aforementioned assets.
I’ve used this plug-in on other occasions on other sites and knew that it was pretty reliable. Well, not if you work with Cornerstone, it seems, and little did I know of the chaos that this little change would cause …
Basically, all those pages are broken now, the builder is blank, yet the pages are still show in the frontend (except for the image, of course). Saving again in Cornerstone will nix the remaining existing data.
So! …–I’m a long-time user of everything Themeco. Pro, Cornerstone, made the early jump to X, and in general, I love the experience.
But this issue just caused me a little fit. It’s not the first time this has happened, the forum is full of posts about it and your general advice just goes like, “Sorry, Cornerstone data is corrupted. No backup from five minutes ago? You’re screwed, pal. ”
Just how? The only change had happened in wp_postmeta._cornerstone_data
where the renaming plug-in changed the file name of the image.
It’s not only that I so easily can corrupt my entire content, it’s also that I get no hint of what is wrong. That last thing is probably what annoys me the most. Browser console shows nothing, server error logs are silent and with an inconsiderate click on “Save” I can easily evaporate an entire page.
Is there some kind of debug mode that I can enable? How do wp_post.content
and wp_postmeta._cornerstone_data
relate and what will cause an invalid state.
I could now tell my editor to rebuilt what was lost but I’d rather have this restored and more importantly: I’d like to understand. The data is there, give it to me.