• Resolved niklasolai

    (@niklasolai)


    I get the following error when trying to open a closed Content Toggle Panel. Any ideas what the problem is and how it’s fixed?

    TypeError: Node.contains: Argument 1 is not an object. 2 front.build.js:70:35
        <anonymous> https://domain.no/wp-content/plugins/ultimate-blocks/src/blocks/content-toggle/front.build.js?ver=2.3.6:70
        forEach self-hosted:225
        <anonymous> https://domain.no/wp-content/plugins/ultimate-blocks/src/blocks/content-toggle/front.build.js?ver=2.3.6:66
        c https://ajax.cloudflare.com/cdn-cgi/scripts/7089c43e/cloudflare-static/rocket-loader.min.js:1
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Imtiaz Rayhan

    (@imtiazrayhan)

    Hi @niklasolai,

    Thanks for reporting the issue.

    We will look into it.

    I will get back to you as soon as we have something.

    Regards.

    Similar for me – Displays OK initially, I can close ‘open’ toggles OK, but need to click twice on any closed toggle to reveal contents. ‘Inspector’ reports:
    front.build.js?ver=2.3.6:70 Uncaught TypeError: Failed to execute ‘contains’ on ‘Node’: parameter 1 is not of type ‘Node’.
    at front.build.js?ver=2.3.6:70
    at Array.forEach (<anonymous>)
    at HTMLDivElement.<anonymous> (front.build.js?ver=2.3.6:66)
    (anonymous) @ front.build.js?ver=2.3.6:70
    (anonymous) @ front.build.js?ver=2.3.6:66

    Thanks

    Plugin Author Imtiaz Rayhan

    (@imtiazrayhan)

    Hi @toll02,

    Thanks for letting us know.

    We are looking into it.

    We will release an update as soon as we have a solution for the problem.

    I apologize for the inconvenience meanwhile.

    I will let you know as soon as the update is available.

    Regards.

    Plugin Contributor Alexis Pandaan

    (@alexius08)

    Hi @niklasolai and @toll02! We’ve found the cause of the error. It happens when “Show only one panel at a time” is enabled and one of the panels is being opened in the frontend.

    We’ll be including a fix for it in the next update. We’ll let you know when it comes out.

    If you encounter other issues with the plugin, please let us know.

    Regards.

    Plugin Contributor Alexis Pandaan

    (@alexius08)

    Hi @niklasolai and @toll02!

    We’ve just released a new version that includes a fix for this issue. Please update to the latest version.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Content Toggle Panel – TypeError: Node.contains: Argument 1 is not an object.’ is closed to new replies.