• Resolved Abigailm

    (@abigailm)


    Since upgrading to WordPress 5x the “preview” function no longer works on multiple sites, running different themes, when editing published pages or posts

    When editing a page, if I click the preview option, a new tab opens and after a brief period while the “loading preview” animation appears, the page is shown — but none of the changes made are displayed. So obviously “preview” does nothing in that setting.

    If I click the option to “Switch to Draft” — then the preview function does work, but of course that takes the page offline while I am working on updates and is not a good option.

    Is this a known bug? Or is it theme dependent? Is there a fix or workaround?

    • This topic was modified 6 years, 2 months ago by Abigailm.
Viewing 3 replies - 16 through 18 (of 18 total)
  • Just notice the issue is occurring only when a page is published and page editor screen has some metaboxes. These metaboxes can either be from some plugin(Yoast, CMB2 or ACF) or from theme files.

    In my case, after I update my website to version 5.1, preview functionality is not working. If I deactivate Yoast plugin then the preview functionality works fine. But I can’t keep yoast deactive, need a solution with which preview work with all plugins.

    Thread Starter Abigailm

    (@abigailm)

    @taavi_miku

    The issue I reported in this thread was resolved in WP 5.2. It was caused by the way WP handled the sequence of auto-updating when pages had fields with meta-data (common with many themes and plugins, particularly search engine plugins).

    So if you have not done so already, you should update to WP 5.2.

    Also, many people on github shared information in the efforts to debug and resolve this issue, but no one reported a need to log out as admin as being tied to visibility of the updates. So it sounds like you are experiencing a different problem, that could be tied to a plugin you are using. So I suggest you start your own separate thread if the problem persists.

    Moderator t-p

    (@t-p)

    Side not to @taavi_miku,

    Please do not jump into other topics. If the troubleshooting already posted made no difference for you, then, as per the Forum Welcome, please post your own topic. A lot more people will see your post, and that way you stand a good chance of getting the assistance you want. Despite any similarity in symptoms, your issue is likely to be completely different because of possible differences in physical servers, accounts, hosts, plugins, theme, configurations, etc. Thus one problem, on one setup is not indicative of the functionality and reliability of an application as a whole.

    I’ll be archiving your post.

    • This reply was modified 5 years, 9 months ago by t-p.
Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Page Preview not working after WP 5 update’ is closed to new replies.