Support » Plugin: Carousel Slider Block » Error whenever image is clicked “TypeError: this.activateMode is not a function”

  • Resolved JeremyEnglert

    (@jeremyenglert)


    This issue occurs even on pages/posts where the Carousel Block is not used – however, the only way to resolve the error was to disable the Carousel Block plugin.

    Whenever we click on any image block, we would get the “The editor has encountered an unexpected error” issue.

    When we copy the error, we get the following:

    TypeError: this.activateMode is not a function
    at https://www.domain.org/wp-admin/load-scripts.php?c=1&load%5B%5D=hoverIntent,common,admin-bar,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,heartbeat,postbox,wp-util,wp-backbone,media-m&load%5B%5D=odels,wp-plupload,wp-mediaelement,media-views&ver=5.2:44:24813
    at f (https://www.domain.org/wp-content/plugins/carousel-block/dist/blocks.build.js?ver=1:1:5100)
    at Function.cf (https://www.domain.org/wp-content/plugins/carousel-block/dist/blocks.build.js?ver=1:1:47505)
    at N.d._createModes (https://www.domain.org/wp-admin/load-scripts.php?c=1&load%5B%5D=hoverIntent,common,admin-bar,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,heartbeat,postbox,wp-util,wp-backbone,media-m&load%5B%5D=odels,wp-plupload,wp-mediaelement,media-views&ver=5.2:44:24773)
    at N.d.initialize (https://www.domain.org/wp-admin/load-scripts.php?c=1&load%5B%5D=hoverIntent,common,admin-bar,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,heartbeat,postbox,wp-util,wp-backbone,media-m&load%5B%5D=odels,wp-plupload,wp-mediaelement,media-views&ver=5.2:44:24182)
    at N.d.initialize (https://www.domain.org/wp-admin/load-scripts.php?c=1&load%5B%5D=hoverIntent,common,admin-bar,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,heartbeat,postbox,wp-util,wp-backbone,media-m&load%5B%5D=odels,wp-plupload,wp-mediaelement,media-views&ver=5.2:44:25820)
    at N.d.initialize (https://www.domain.org/wp-admin/load-scripts.php?c=1&load%5B%5D=hoverIntent,common,admin-bar,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,heartbeat,postbox,wp-util,wp-backbone,media-m&load%5B%5D=odels,wp-plupload,wp-mediaelement,media-views&ver=5.2:44:28692)
    at N.d.b.View (https://www.domain.org/wp-includes/js/backbone.min.js?ver=1.2.3:1:14137)
    at N.d.constructor (https://www.domain.org/wp-admin/load-scripts.php?c=1&load%5B%5D=hoverIntent,common,admin-bar,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,heartbeat,postbox,wp-util,wp-backbone,media-m&load%5B%5D=odels,wp-plupload,wp-mediaelement,media-views&ver=5.2:40:2616)
    at N.d.constructor (https://www.domain.org/wp-admin/load-scripts.php?c=1&load%5B%5D=hoverIntent,common,admin-bar,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,heartbeat,postbox,wp-util,wp-backbone,media-m&load%5B%5D=odels,wp-plupload,wp-mediaelement,media-views&ver=5.2:44:23629)
Viewing 4 replies - 1 through 4 (of 4 total)
  • We disabled all plugins (besides Carousel Block) and then enabled them one by one. The issue only occurs when Carousel Block and Breadcrumb NavXT are both active.

    Plugin Author virgildia

    (@virgildia)

    @jeremyenglert thank you for reporting this and testing! I was able to reproduce the error after installing the Breadcrumb NavXT plugin. After doing some searching it looks like this is a common error with custom Gutenberg blocks. I will fix this as soon as I can in the next Carousel block plugin version. There isn’t anything you can do on your end for now.

    • This reply was modified 4 months, 1 week ago by  virgildia.
    Plugin Author virgildia

    (@virgildia)

    @jeremyenglert This issue was fixed. Please update to the latest version of the plugin.

    Sweet! Appears to be working great. Thanks for the fix!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.