• Suddenly I’ve lost all my web content and instead of it appears shortcodes in all the entries like : [wpgform id=’…’]. I’m in a panic attack. Please I need some help to recover my web content. It is a magazine webside and I have more than 4000 entries so I dont want to post it all again.

    https://www.ads-software.com/plugins/wpgform/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Mike Walsh

    (@mpwalsh8)

    What version of the Google Forms plugin are you using? What you describe was a bug in a beta version as well as a version released briefly (like an hour or less) a while back but has since been fixed.

    Google Forms will set the post content for posts of type Google Forms only, it does not modify another other post types. After the bug I described above was logged I found a completely different way to update the Google Forms post content that didn’t rely on the generic “save_post” hook because it is too risky.

    Thread Starter Rage22

    (@rage22)

    I’m using the last version (Versión 0.66-beta-2) When the error began I was using another older version. Then I read a couple of forums and downloaded the last version but the error still appearing now I’m getting another error: Unable to process Google Form short code.

    Thread Starter Rage22

    (@rage22)

    Plugin Author Mike Walsh

    (@mpwalsh8)

    In order to help track this down, I really need to know the version of Google Forms you were using when the problem happened.

    The “Unable to process Google Form short code” error is due to the fact that your post content contains a Google Forms short code that doesn’t resolve to a Google Form.

    Try this: Pull up two or three of your most recent posts and revert the post revision to the prior one and see if your content comes back. If it does, save the post and then go visit the page to ensure everything looks correct.

    Thread Starter Rage22

    (@rage22)

    I think I was using the 0.65 when the problem began. I have tried the post revision method you advice me an it works, but Is there any way to establish all the post at once to the last revision?

    Plugin Author Mike Walsh

    (@mpwalsh8)

    The problem you describe was/is an issue with v0.64 which was very briefly available back on February 24th. Shortly after releasing v0.64 I received a report of corrupted posts similar to yours. I quickly reverted the released version to v0.63 which had been available for a couple months.

    On February 26th I posted a v0.65 beta release which fixed the issues reported with v0.64. If you look through my posts and the comments there was a lot of testing done with v0.65 because of what happened with v0.64.

    The downside of the v0.65 release was it resulted in a plugin conflict with WordPress SEO. I have since fixed conflict with WordPress SEO in a beta release for v0.66 (which appears to be solid so I plan to release it) and had the fix confirmed by 3-4 different people.

    Is there any chance you installed v0.64 or one of the v0.64 beta releases from somewhere other than the WordPress plugin repository? Had this happened back in late February I could see how you might have gotten v0.64 but after two months, I am not sure where you would have gotten it from.

    As for how to fix it, I took a quick look for a bulk post revision revert plugin but didn’t find anything. There may be something available that I didn’t see but nothing jumped out at me. The bulk post editing feature doesn’t offer any solution either.

    If you’re an SQL guru you could likely craft a query which deletes content from the post table which where the content matches a regular expression created to catch just the post revisions which contain the wpgform shortcode. That is probably the route I’d go down as reverting 4000 posts will be a lot of work. If you do this make sure you save a copy of your database just in case you need to refine your delete query.

    Do you have a recent database backup? That may be an option as well.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Missing web content’ is closed to new replies.