Support » Plugin: PublishPress Revisions: Submit, Moderate, Schedule and Approve Revisions » Missing featured images on new revision

  • Resolved arjendejong



    Sometimes, and I’m not sure on which conditions, when I create a new revision, I can see the featured image getting removed. When I’m opening this revision to edit, the featured image is just not there. Any idea what could be going on?



Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Kevin Behrens


    @arjendejong We have not seen this issue, but I’ll investigate. Can you confirm that you are using the Gutenberg editor? Do you have any page builder or front end editor plugins active?

    @kevinb I am using the Gutenberg editor in combination with a custom post type. No other page builders or editors. I’ve made a small recording to show you what happens when I save a post:
    This particular post is now missing its featured image in the revision:

    Plugin Author Kevin Behrens


    On your site, does this also happen with regular posts or pages?

    The editorial office only uses it on this custom post type so I don’t know if it happens on posts or pages, sorry.

    Plugin Author Kevin Behrens


    @arjendejong I’ve confirmed the error and should be able to develop a fix for release tomorrow.

    That’s great news! I’m looking forward to the fix.

    Plugin Author Kevin Behrens


    @arjendejong The updated Revisions development version (2.3.9-beta3) should resolve this issue. Can you confirm the fix on your site?

    @kevinb Thanks for the zip. I’ve updated the plugin in my site, but unfortunately it didn’t correctly include the featured image in the revision. Looking at the updated code in GitHub, it seems you updated it in pending revisions. However, we’re not using pending revisions, only scheduled revisions. That’s why it’s not working for us I think. One thing that does seem to work is reupload the current featured image. I’m not sure if the current one has a faulty reference in the database, but it displays correctly in our site.

    Also, this latest beta release broke our scheduled revisions. They are not being scheduled correctly. For now I’ve reverted back to beta 2. I’ve included the stack trace below:

    [2020-08-06 08:30:04] production.ERROR: Creating default object from empty value {“userId”:null,”email”:null,”exception”:”[object] (ErrorException(code: 0): Creating default object from empty value at /home/wpsoup/domains/
    #0 /home/wpsoup/domains/ Themosis\\Core\\Bootstrap\\ExceptionHandler->handleError(2, ‘Creating defaul…’, ‘/home/wpsoup/do…’, 468, Array)
    #1 /home/wpsoup/domains/ rvy_apply_revision(‘110832’, ‘future-revision’)
    #2 /home/wpsoup/domains/ rvy_publish_scheduled_revisions()
    #3 /home/wpsoup/domains/ _rvy_publish_scheduled_revisions(Object(Revisionary))
    #4 /home/wpsoup/domains/ WP_Hook->apply_filters(”, Array)
    #5 /home/wpsoup/domains/ WP_Hook->do_action(Array)
    #6 /home/wpsoup/domains/ do_action(‘rvy_init’, Object(Revisionary))
    #7 /home/wpsoup/domains/ Revisionary->__construct()
    #8 /home/wpsoup/domains/ rvy_init(”)
    #9 /home/wpsoup/domains/ WP_Hook->apply_filters(NULL, Array)
    #10 /home/wpsoup/domains/ WP_Hook->do_action(Array)
    #11 /home/wpsoup/domains/ do_action(‘init’)
    #12 /home/wpsoup/domains/ require_once(‘/home/wpsoup/do…’)
    #13 /home/wpsoup/domains/ require_once(‘/home/wpsoup/do…’)
    #14 /home/wpsoup/domains/ require_once(‘/home/wpsoup/do…’)
    #15 /home/wpsoup/domains/ require(‘/home/wpsoup/do…’)
    #16 {main}

    Plugin Contributor publishpress


    Hi @arjendejong. I believe we have a support ticket from you on this, so we’ll reply there.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.