• Resolved Deryck

    (@deryck)


    Hi,

    I’m using Fancybox 3 in my theme. Now I’m using Beaver Builder free to test before buy Premiun and I get fancybox compatability issues. Beaver Builder load but when I open any modalbox and try to click buttons or close inside I get the following error:

    View post on imgur.com

    
    jquery.fancybox.min.js?ver=3.2.5:12 Uncaught TypeError: Cannot read property 'opts' of undefined
        at HTMLDocument.beforeClose.fb (jquery.fancybox.min.js?ver=3.2.5:12)
        at HTMLDocument.dispatch (jquery.js?ver=1.12.4:3)
        at HTMLDocument.r.handle (jquery.js?ver=1.12.4:3)
        at Object.trigger (jquery.js?ver=1.12.4:3)
        at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2)
        at HTMLDivElement.<anonymous> (jquery.js?ver=1.12.4:3)
        at Function.each (jquery.js?ver=1.12.4:2)
        at a.fn.init.each (jquery.js?ver=1.12.4:2)
        at a.fn.init.trigger (jquery.js?ver=1.12.4:3)
        at FLLightbox.trigger (fl-builder.min.js?ver=1.11:1)
    beforeClose.fb @ jquery.fancybox.min.js?ver=3.2.5:12
    dispatch @ jquery.js?ver=1.12.4:3
    r.handle @ jquery.js?ver=1.12.4:3
    trigger @ jquery.js?ver=1.12.4:3
    a.event.trigger @ jquery-migrate.min.js?ver=1.4.1:2
    (anonymous) @ jquery.js?ver=1.12.4:3
    each @ jquery.js?ver=1.12.4:2
    each @ jquery.js?ver=1.12.4:2
    trigger @ jquery.js?ver=1.12.4:3
    trigger @ fl-builder.min.js?ver=1.11:1
    close @ fl-builder.min.js?ver=1.11:1
    _globalSettingsClicked @ fl-builder.min.js?ver=1.11:1
    dispatch @ jquery.js?ver=1.12.4:3
    r.handle @ jquery.js?ver=1.12.4:3
    fl-builder.min.js?ver=1.11:4 Uncaught TypeError: Cannot read property 'stack' of null
        at Object.logGlobalError (fl-builder.min.js?ver=1.11:4)
        at FLBuilderConfig.debug.window.onerror (fl-builder.min.js?ver=1.11:1)
    

    I know it’s Fancybox 3 because if I disable it Beaver Builder works like a charm.

    Fancybox is loaded via enqueue_script, in my theme.

    
    		'fancybox' => array(
    			'src'    => '//cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.js',
    			'deps'   => array( 'jquery' ),
    			'ver'    => '3.2.5',
    			'footer' => true
    		),
    
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Ben Carlo

    (@hinampaksh)

    Hey @deryck,

    Thanks for posting!

    We already have a bug report up for this and our devs are already working on a fix. ??

    ben

    Thread Starter Deryck

    (@deryck)

    Thanks Ben. I’ll wait then.

    Is this fix still in the works? I’m having trouble with PowerPack Beaver Addons (I know it’s not your product) and it seems to come back to this same issue with fancybox 3.

    I’d love to know if it should be working before I spend time debugging it.

    Plugin Contributor Ben Carlo

    (@hinampaksh)

    Hey guys,

    Apologies for the delayed response here.

    Just letting you know we’ve already fixed the bug from our end since version 2.0.4.

    @bookchiq

    That might be another issue altogether so I’d suggest getting in touch with PP support instead. ??

    Ben

    Thread Starter Deryck

    (@deryck)

    Thanks @hinampaksh

    I noticed that!!! ??

    Beaver Builder rocks! I’m a happy client.

    Best Regards.

    Plugin Contributor Ben Carlo

    (@hinampaksh)

    No worries at all, @deryck! And very happy to hear that. ??

    Enjoy!

    Ben

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t use Beaver Builder with Fancybox’ is closed to new replies.