• Resolved billrodgers

    (@billrodgers)


    Hi,

    Getting an error in all of my installations with Otter Blocks installed (a dozen or so).

    Scenario is while saving a reusable block while editing a page.

    Here’s what dev tools says:

    Uncaught (in promise) TypeError: e is undefined

    (site URL)/wp-content/plugins/otter-blocks/vendor/codeinwp/gutenberg-css/build/build.js?ver=1.0.11:1

    Tested with no plugins enabled and several themes and no problems. As soon as I enable Otter Blocks the error is back.

    Otter is my favorite Gutenberg plugin for creating sections. I love the controls.

    I have this on so many sites I hope I can find a solution.

    Thanks for your plugin and your help!

    Bill

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Hardeep Asrani

    (@hardeepasrani)

    Hey @billrodgers,

    Which version of WordPress are you currently using? I tried in on my end and it seems to work. Could you try to reinstall the plugin to see? Let us know so we could make sure you get to use the plugin that you love. ??

    Thread Starter billrodgers

    (@billrodgers)

    Hello Hardeep,

    Thank you for your reply.

    Uninstalled, cleaned cache and reinstalled. Problem has persisted with a fresh install of Otter Blocks

    All of the sites we’re using Otter Blocks on are running the latest version of WordPress, 5.6. I am a designer and maintain our client’s site so keep everything up-to-date manually.

    Because the client sites are live and critical layouts are using Otter Blocks I am testing fixes at a sandbox installation. I disabled all plugins except Otter Blocks and tested with default theme (2021), Astra, and GeneratePress. Same error. Wanted to make certain this wasn’t a plugin or theme conflict.

    If you want a login to my sandbox, let me know.

    Since posting here I have discovered the block is being saved even though the save animation will not go away. So I click on the “convert to normal block” and that’s the only way to stop the save button animation. When I navigate to “manage reusable block”, the new block is present but without the name. In the reusable blocks admin I can name it and save it.

    Interim fix (or workaround) is I’ve installed a function to provide an admin button for “Reusable Block”. Instead of creating them while working on a page or post, I am creating them from the Reusable Blocks admin area (like a post or page) and dropping them into a page.

    Links to the resources I used:
    Plugin
    Function for Child Themes

    Regards and thanks again for your help,
    Bill

    Plugin Author Hardeep Asrani

    (@hardeepasrani)

    Hey @billrodgers,

    Can you send the sandbox creds through here? https://www.hardeepasrani.com/contact/ – thank you!

    Thread Starter billrodgers

    (@billrodgers)

    Have done so Hardeep.

    Regards,
    Bill

    Plugin Author Hardeep Asrani

    (@hardeepasrani)

    Hey @billrodgers,

    I was checking and tried to reproduce on our end. It turns out to be an issue somehow related to our CSS Module. If you go to Settings > Otter, in your WordPress Dashboard, and disable CSS Module, it will start working.

    Meanwhile, we’re working on fixing this issue. Thank you for reporting and sorry for the delay!

    Thread Starter billrodgers

    (@billrodgers)

    Hi Hardeep,

    Thanks for looking into this and finding the source of the issue. Glad my report was useful.

    For now, until you’ve rolled out a fix, instead of disabling the CSS module, I’ll use the admin area add-on I outlined in my earlier reply. Hopefully WP will add the admin area for reusable blocks to the core.

    Thanks again for your great plugin and for your help here solving the issue.

    Regards,
    Bill

    Plugin Author Hardeep Asrani

    (@hardeepasrani)

    In case you want to use the CSS module, you can use this plugin: https://www.ads-software.com/plugins/blocks-css/

    We released the fix two nights back in this standalone plugin and it should be released in Otter soon too.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Uncaught (in promise)’ is closed to new replies.