Support » Plugin: Kadence Blocks – Gutenberg Page Builder Toolkit » Bug after import (backward compatibility)

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Hey,
    Thanks for posting!

    Can you right click while you are in your browser and click “inspect” then in the developer tools popup click on “console” that will show you some errors? If you can just take a screenshot of some of those and post here that would be really helpful.

    As a way to quick fix you can use “attempt block recovery” from here to get your page re-accessible in the editor: https://www.kadenceblocks.com/docs/how-to-recover-a-broken-block/

    Ben

    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Hey,
    I think I found your issue, I have updated today let me know if that fixes it!

    Ben

    vladyslavs

    (@vladyslavs)

    Hello.
    Screen from console.
    Icon: https://www.screencast.com/t/GsZoLhDYAvTj
    or full log: https://pastebin.com/UY9v4YyK

    Divider: https://www.screencast.com/t/CfblYAQTI

    “As a way to quick fix you can use “attempt block recovery””
    Its bad idea, I m developing theme for themeforest, so… 🙂

    • This reply was modified 12 months ago by vladyslavs.
    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Thanks! I shall have a fix very soon

    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Hmm I was digging into the pastebin for your icon issue.

    Your “actual” is showing code without the svg:

    <div class="wp-block-kadence-icon kt-svg-icons kt-svg-icons_f3b659-5b aligncenter" style="text-align:center"><div class="kt-svg-style-default kt-svg-icon-wrap kt-svg-item-0"><div style="color:#8ed1fc" class="kt-svg-icon kt-svg-icon-fe_github"></div></div></div>

    I’m not sure how that is even possible, there was never a time when an svg wasn’t output. Your screen shot shows that the svg is there though. Can you confirm that it’s in the output?

    Ben

    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    hmm I’m also having trouble recreating the divider issue. I feel like I’m missing a step. Were these blocks just created a couple of versions ago and then they all of the sudden stopped working?

    can you tell me what other plugins you have installed perhaps I can find a conflict?

    Ben

    Hello.
    My out code is:
    <div class="wp-block-kadence-icon kt-svg-icons kt-svg-icons_f3b659-5b aligncenter" style="text-align:center"><div class="kt-svg-style-default kt-svg-icon-wrap kt-svg-item-0"><div style="color:#8ed1fc" class="kt-svg-icon kt-svg-icon-fe_github"></div></div></div>

    Yes, I added widgets to an earlier version WP (< 5.1). So сan I do this?

    • This reply was modified 11 months, 3 weeks ago by vladyslavs.

    Hey,
    Yeah since the plugin was created in August of last year there as always been an SVG. From your output, it appears that SVG was stripped out. That could be from a plugin, or some strange server sanitizing your content. Either way, I suggest trying to recover the block using the attempt recover method I mentioned above. There is no way for me to a “fix” because there is nothing in this plugin that would have stripped out the SVG to start with.

    Does that make sense?

    Ben

    Hello.
    I checked on new site, created new block, used twentyninteen and had same problem.

    But, other plugin had this problem too and they fixed it.
    Can you check this way? I mean check import by Default WP Importer.

    This is really sad. Default WP importer doesn't support attributes aria-valuenow, aria-valuemin and aria-valuemax, that uses in progress block.
    
    Added fix, you can try.

    Hey,
    Can you walk me through all the steps you are doing?

    I have no problem using the default WP importer and the Kadence Icon block. I’ve tested that which is part of why I am not understanding. It works perfectly fine for me with no errors.

    Maybe you can send me your export files I can first see how you are exporting?

    Ben

    Hello.
    Page “Bug”.
    Last version WP and last version plugin. Default theme.

    https://drive.google.com/open?id=1j44GbEa01yN_huLjI3xlt68jKleuYoJq

    Hey,
    I imported that into a demo site and that page shows the icon block, no errors.

    So from what you have said when you try to import, using the wordpress importer, it’s stripping out the SVG and styles then something else must be going on, possible sanitation by the server or a plugin. What type of server are you using? What plugins are installed?

    Ben

    Hello.
    I use only your plugin. And I have problem too.
    I use WordPress Importer.

    2019-03-07_1102

    Now I use OpenServer (its local server) and vps. Same problem on all of them.

    Did you check attributes? In another plugin like yours fixed attributes for WP Importer.

    Yeah all the attributes were fine. But your screenshot shows some new information. You are using a multisite… I bet that is the issue. Let me test on a multisite see if that is creating your error.

    I see multisite run all imported content through a kses filter.
    https://wordpress.stackexchange.com/questions/1549/disabling-html-filtering-when-importing-into-wordpress-multisite

    I’m not really sure if there is anything I can do about this but I’ll test, It’s one thing to strip out some styles, another to strip out the entire SVG.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Bug after import (backward compatibility)’ is closed to new replies.