Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Roberto Vázquez

    (@weiko)

    The blocks editor shows a controlled error with 3 buttons: Attempt recovery, Copy text and Copy error.

    Console shows:

    TypeError: this.activateMode is not a function
        at load-scripts.php?c=0&load[]=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load[]=uest,media-views&ver=5.2:351
        at f (blocks.build.js?ver=1:1)
        at Function.cf (blocks.build.js?ver=1:1)
        at N.d._createModes (load-scripts.php?c=0&load[]=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load[]=uest,media-views&ver=5.2:351)
        at N.d.initialize (load-scripts.php?c=0&load[]=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load[]=uest,media-views&ver=5.2:351)
        at N.d.initialize (load-scripts.php?c=0&load[]=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load[]=uest,media-views&ver=5.2:351)
        at N.d.initialize (load-scripts.php?c=0&load[]=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load[]=uest,media-views&ver=5.2:351)
        at N.d.b.View (load-scripts.php?c=0&load[]=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load[]=uest,media-views&ver=5.2:345)
        at N.d.constructor (load-scripts.php?c=0&load[]=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load[]=uest,media-views&ver=5.2:346)
        at N.d.constructor (load-scripts.php?c=0&load[]=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load[]=uest,media-views&ver=5.2:351)

    The error code is:

    _createModes/<@https://website.com/wp-admin/load-scripts.php?c=0&load%5B%5D=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load%5B%5D=uest,media-views&ver=5.2:351:24813
    f@https://website.com/wp-content/plugins/carousel-block/dist/blocks.build.js?ver=1:1:5100
    cf@https://website.com/wp-content/plugins/carousel-block/dist/blocks.build.js?ver=1:1:47505
    _createModes@https://website.com/wp-admin/load-scripts.php?c=0&load%5B%5D=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load%5B%5D=uest,media-views&ver=5.2:351:24773
    initialize@https://website.com/wp-admin/load-scripts.php?c=0&load%5B%5D=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load%5B%5D=uest,media-views&ver=5.2:351:24182
    initialize@https://website.com/wp-admin/load-scripts.php?c=0&load%5B%5D=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load%5B%5D=uest,media-views&ver=5.2:351:25820
    initialize@https://website.com/wp-admin/load-scripts.php?c=0&load%5B%5D=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load%5B%5D=uest,media-views&ver=5.2:351:28692
    b.View@https://website.com/wp-admin/load-scripts.php?c=0&load%5B%5D=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load%5B%5D=uest,media-views&ver=5.2:345:14137
    constructor@https://website.com/wp-admin/load-scripts.php?c=0&load%5B%5D=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load%5B%5D=uest,media-views&ver=5.2:346:2616
    constructor@https://website.com/wp-admin/load-scripts.php?c=0&load%5B%5D=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load%5B%5D=uest,media-views&ver=5.2:351:23629
    N/d<@https://website.com/wp-admin/load-scripts.php?c=0&load%5B%5D=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load%5B%5D=uest,media-views&ver=5.2:345:22093
    N/d<@https://website.com/wp-admin/load-scripts.php?c=0&load%5B%5D=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load%5B%5D=uest,media-views&ver=5.2:345:22093
    N/d<@https://website.com/wp-admin/load-scripts.php?c=0&load%5B%5D=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load%5B%5D=uest,media-views&ver=5.2:345:22093
    23/wp.media@https://website.com/wp-admin/load-scripts.php?c=0&load%5B%5D=thickbox,hoverIntent,common,admin-bar,heartbeat,postbox,backbone,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-req&load%5B%5D=uest,media-views&ver=5.2:347:1153
    t@https://website.com/wp-includes/js/dist/edit-post.min.js?ver=3.3.4:12:7318
    Yf@https://website.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:67:42
    qg@https://website.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:92:302
    hi@https://website.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:104:285
    Qg@https://website.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:144:217
    Rg@https://website.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:145:76
    Sc@https://website.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:158:109
    Z@https://website.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:156:492
    ah@https://website.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:159:227
    xf@https://website.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.8.4:40:45
    

    And on the JS side, I unslick the slider but when I slick it again the parameters are still the same default.

    Thanks for the help!

    Thread Starter Roberto Vázquez

    (@weiko)

    Hi!
    WP 5.2 and Coblocks 1.9.4.
    With Carousel block activated i create a new page and I can’t add a new hero block without the block editor completely crashing. With it disabled it works normally. I tried other combinations of plugins and so far its the only problem i can spot.

    On the JS side I tried to initiate the slider by hooking the carousel_block_editor_assets and loading another JS file with no results.
    Can you post an example?

    jQuery(document).ready(function($) {	
    	$('.wp-block-cb-carousel').slick({
    		infinite: true,
    		slidesToShow: 1,
    		slidesToScroll: 1
    	});  
    });

    I would suggest as an option in the panel the infinite rotation and an example of to override the initiation in JS.

    Seems to be related to the way Visual Composer (plugin) handles the data.

    Thread Starter Roberto Vázquez

    (@weiko)

    Using “old school” permalinks (/?p=123) the pdf generations works but thats not really a solution.
    The problem is still related with the way the endpoints works with woocommerce.
    The urls ended in /pdf/, /pdf-template/, /pdf-preview/ are redirect to the same url without the endpoint.
    The same url with a random endpoint goes directly to a 404.

    Thanks in advance.

    Thread Starter Roberto Vázquez

    (@weiko)

    No.

    Im looking inside the _use_pdf_template() function and none of the $wp_query->query_vars[‘pdf-template’] are set.

    The whole combo im using is WP 4.1.1 + WC 2.3.5 + Canvas Theme 5.9.1

    Thread Starter Roberto Vázquez

    (@weiko)

    Yes, but the product removes the endpoint and returns a url without it.

    Same issue here on multiple combinations of WP+Plugin.

    I have the same problem. TONS of Warnings on my error_log.
    Some of them got indexed by google.

Viewing 8 replies - 1 through 8 (of 8 total)