The Problem:
Logged in as an administrator, we get the error “Are you sure you want to do this? Please try again” whenever we try to create new content.
Using the latest version of PRO, we’ve encountered this bug three times now that forces all content to be deleted before the site is operational again. In other words, the only way to remedy this issue has been to rebuild a site anew, from the ground up. For existing sites with lots of content, this just isn’t an option.
We cannot reproduce the exact steps, but we’re close. In any case, I’ve created a video that shows some of the issues we’re experiencing and may provide some insight. The first 6 minutes is me playing around and familiarizing myself with the bug. Skip to 6:00 to see me take all necessary steps to determine it’s related to the PRO theme http://youtu.be/014TJIhvDZ4?hd=1
After disabling all plugins and switching themes, I investigated this further by examining the database. What I noticed is that PRO creates “ghost” posts in the wp_posts table every time we try to create a new Page item (this bug is also happening for Post types). Please see screenshot. We get the error “Do you want to do this;” no page is listed in the Pages list; but a ghost page AND a page of attempted article title is created in the database along with an Auto Draft. Please see screen shots.
To fix this, we’ve tried to delete all pages from the wp_posts table. This did not help.
In fact, out of desperation, we ran the command ‘delete from wp_posts delete from wp_postmeta.’
This STILL did not help. Where else would Pro related data be stored if not in the wp_posts table and related cornerstaone / PRO meta data in the wp_postmeta table?
While we cannot pinpoint the exact cause, we feel that when we have accidentally clicked “save” in the PRO visual editor a second time while the page is still saving (green bar going across the top) the error happens shortly after that.
Thoughts? What information can I get you to help diagnose?