Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #1095104

    Our client has created a page, the page is in draft mode

    The page has been changed but the changes do not show in the preview

    My cache plugins are deactivated and I have tried a different browser, same result.

    On the edit page I have an error in my js console


    Block validation: Block validation failed for core/shortcode (
    Object { name: “core/shortcode”, title: “Shortcode”, description: “Insert additional custom elements with a WordPress shortcode.”, icon: {…}, category: “widgets”, attributes: {…}, transforms: {…}, supports: {…}, edit: WithInstanceId(Component)()
    , save: save()
    }
    ).

    Expected:

    [av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-juuvwx4l' admin_preview_bg='']
    Portfolio grid-

    Both wordPress and enfold are up to date

    Do you know why the preview is not correct?

    #1095464

    Hey octech,

    Looks like you’re using the Block editor and not the Advanced Layout Builder. We cannot really provide support for that.

    Best regards,
    Victoria

    #1095501

    Hey guys, I’m getting the same problem on some of my pages. I am in fact using the Advanced Layout Builder and not the block editor, but whenever the edit page loads I get the same error as above. Also, no changes are reflected on the front-end. They do “save” so if I make a change and refresh the edit page, my changes are still there, but these changes are not visible on the front-end.

    #1095744

    Hi Victoria

    I am indeed using the Advanced Layout Builder. I do not know why Blocks related errors appear at my site

    I have taken a brand new wordpress instance, installed there enfold and imported the post using the xml wordpress export / import and I have exactly the same problem.

    I have seen people having a similar problem

    #1095749

    Hello again,

    I forgot to thank you for your answer before, I do it now.

    I have prepared an user for you to check my test site.

    I had enfold configurated to use the block editor but changed to the classic editor to try if that solve my problem.

    See attached credentials

    Best regards

    #1096009

    Hi octech,

    Thanks for the login details, though I’m not sure what is going on there. It seems like the block editor is still active on the page even though it’s not, what happens if you publish the page or create a new page?

    Best regards,
    Rikard

    #1096404

    Hi,

    If I create a new page; the classic editor opens. Please, feel free to try it yourself. This site is a test site.
    I published the page in another test site and then the problem disappeared and the final version of the draft was published.

    It is the preview what does not work properly. It happened before, even if I did not contacted you. This is becoming a problem because happens too often and my client relies on drafts for their daily work

    I have gone back to the block editor because we are using Gutemberg in other parts of the site.

    Best regards,

    Berta

    #1097011

    Hi,

    I’m also having the same issue. The same error also popups about Block validation. I’m using the advanced layout builder.

    This is what happens after clicking on the Edit button for that page

    Image 2019-05-03 at 2.39.11 PM.png

    sl

    • This reply was modified 5 years, 6 months ago by slui.
    #1097163

    Hi slui,

    The block validation error pops up if Gutenberg was enabled. You need to have it disabled in the theme options.

    Best regards,
    Victoria

    #1097296

    Thanks Victoria. I’ve done that but I’m still having issues. Please see my other post

    #1097520

    Hi,

    I think the three of us are having the same problem.

    It seems there is a real issue here that needs to be adressed. People cannot use drafts in updated wordPress instals and this a big inconvenience for users

    Could you have a look at it?

    Best regards,

    Berta

    #1097545

    Hi,

    @slui: We replied to your thread. Please continue there.

    @octech: We switched the editor to classic and it seems to have fixed the issue. The block validation will only appear if the block editor is enabled as @victoria mentioned. Please make sure that that you’re not loading the page from cache. Remove the browser history or purge the plugin cache.

    Best regards,
    Ismael

    #1097629

    Hi,

    Thank you Ismael.

    Could you let me know what you did to the page exactly, so I can reproduce it in the client’s site?

    Draft changes are now indeed visible. However, we were using the block editor (guttemberg) elsewhere in the site. So I need to go back to the block editor.

    According to your documentation, Enfold is now compatible with Gutemberg. Is it not?

    Best regards,

    Berta

    • This reply was modified 5 years, 6 months ago by octech.
    #1097828

    Hi admin team,

    Octech raises a good point. It seems that for many of these issues the answer we are given is “revert to the classic editor”. While I understand that bugs can’t be fixed immediately and this is a good temporary solution, it’s not a solution. If Enfold is compatible with Gutenberg ( which it does claim to be ), then this is a bug that needs proper investigation and a fix. If not then it should be stated that Enfold does not fully support Gutenberg.

    I can vouch for my team that we all really love Enfold and appreciate the work that goes into this great theme, which is why we continue to purchase it and support your efforts. It is frustrating though, that when issues like this come up we are not given a proper solution or support. It seems that most of us on here are more than willing to help find a solution. We are providing you with links to reproduce the issues etc so if there is more that we can do for you to help solve the issue, please do let us know. But please don’t just close this thread with an unresolved issue and a temporary solution.

    Thanks again for your hard work.

    #1097920

    Hi,

    Thanks for the update.

    @octech: We set the editor back to Gutenberg and updated the “Basura Elementos” page. We can’t reproduce the issue any longer. The block editor is probably detecting an old shortcode block. Is this initially created with the block editor? (see private field)

    @twitchdevelopment: We will release beta version of the latest patch and try to fix these kind of issues, but this one seems to be intermittent. It doesn’t happen regularly, so it’s quite difficult to debug. We do know that the block validation only appears when Gutenberg is enabled and if there is an existing block inside the editor. Please try to add some elements in the page, then update it once or twice.

    Best regards,
    Ismael

    #1098064

    Hi Ismael,

    Thank you for your answer and for your hard work, Let’s hope you manage to solve this problem soon.

    The site where this problem happened is using Guttemberg since wordPress 5 update. Enfold was also updated and block editor selected.

    The original page I sent you was created with the Avia editor under this conditions.

    I exported the problematic page from our production site and imported into an empty wordPress for you to try.

    My clients have been complaining about drafts and previews for some time, this post is only an example. So I wouold like to know how can I solve their problem when this issue happens next.

    Best regards,

    Berta

    #1099862

    Hi,

    Thanks for the update.

    So I wouold like to know how can I solve their problem when this issue happens next.

    When creating new pages, ask your client to immediately switch to the advance layout builder right away without adding any blocks from the Gutenberg editor. That should prevent the block validation from ever appearing in that page. Sorry for the delay.

    Best regards,
    Ismael

    #1100287

    Hi Ismael.

    Thank you for your answer.

    Let’s hope next updates remove the issue completely

    Best regards,

    Berta

    #1101298

    Hi,

    We hope that you or your clients don’t encounter that issue anymore. Please feel free to open a new thread if you do.

    Have a nice day.

    Best regards,
    Ismael

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Draft preview is showing the first version of a page but not changes’ is closed to new replies.