don12
posted this
31 October 2020
OK, the loss of hours of work has been avoided by working directly in the database.
in the _postmeta table there is a meta_key " _np_html_preview" entry for the particular page/post id. To find the post id look in the edit url for "?post=" and use the number you see there to search the postmeta table for the post_id.
I copied the "meta_value" contents of that preview entry into the meta_value for the "_np_html" meta_key entry of the post.
Then when I opened a new edit window in Nicepage the preview version of the page had been saved and loaded for editing. Work saved. :)
However, when trying to view the page/post it still showed an old version. So I went into the _posts table and deleted the "post_content" contents for the post.
Then, reloading the page the latest Nicepage version appeared.
Will require some more testing to see whether the problem will reoccur, but at least the work to date was saved.
Hope this helps someone in future.
OK, the loss of hours of work has been avoided by working directly in the database.
in the _postmeta table there is a meta_key " _np_html_preview" entry for the particular page/post id. To find the post id look in the edit url for "?post=" and use the number you see there to search the postmeta table for the post_id.
I copied the "meta_value" contents of that preview entry into the meta_value for the "_np_html" meta_key entry of the post.
Then when I opened a new edit window in Nicepage the preview version of the page had been saved and loaded for editing. Work saved. :)
However, when trying to view the page/post it still showed an old version. So I went into the _posts table and deleted the "post_content" contents for the post.
Then, reloading the page the latest Nicepage version appeared.
Will require some more testing to see whether the problem will reoccur, but at least the work to date was saved.
Hope this helps someone in future.