Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author stenberg.me

    (@stenbergme)

    Actually built an extension doing just that, will see if I can integrate it with the main plugin.

    Plugin Author stenberg.me

    (@stenbergme)

    I’ve added support for deleting posts, will be included in next plugin release. If you want to try it out immediately, see https://github.com/stenberg/content-staging

    Thanks!

    Thread Starter wahhadesign

    (@wahhadesign)

    Sorry, I never got back. This worked, thank you.

    bearstar

    (@bearstar)

    I tried the new extension, but when I use it, it sticks on the Deploying Batch screen:

    Prepare import on xyz (ID: 1573)

    Importing…

    Any insights?

    bearstar

    (@bearstar)

    Any insight into this?

    Plugin Author stenberg.me

    (@stenbergme)

    Does this happen with any batch that you try to deploy? Can you have a look at the debug.log and see if there is any clues in there?

    bearstar

    (@bearstar)

    [24-Sep-2015 16:12:08 UTC] PHP Fatal error: Class ‘DOMDocument’ not found in /var/www/html/wordpress/wp-content/plugins/content-staging/classes/listeners/class-delete-listener.php on line 238

    Regular deployments seem to work OK.

    Plugin Author stenberg.me

    (@stenbergme)

    Thanks, that’s really helpful!

    So the problem seems to be that the delete functionality relies on the class DOMDocument – part of the PHP DOM extension. Most likely you don’t have this extension in your PHP package, causing the fatal error.

    I’ll get rid of the DOM extension dependency somehow. Created an issue for this:

    https://github.com/stenberg/content-staging/issues/76

    For now I’ve moved the delete functionality to its own branch.

    Plugin Author stenberg.me

    (@stenbergme)

    Fixed and merged to the master branch.

    https://github.com/stenberg/content-staging

    bearstar

    (@bearstar)

    Thanks, your updated did the trick. Much appreciated.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Delete Content?’ is closed to new replies.