Support » Plugin: Easy FancyBox » Fancybox conflict with Tablepress

  • Resolved thunderphong

    (@thunderphong)


    Hi there,

    I use fancybox and tablepress in my website. Every time I put a tablepress table and a fancybox image in the same post, the fancybox doesn’t work. Images keep getting redirected instead of a fancybox popup

    I have updated both plugins but it still does not work.

    Hopefully you find a solution to this error.

    Thank you for your help with this.

    • This topic was modified 3 weeks, 6 days ago by  thunderphong.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author RavanH

    (@ravanh)

    It looks like the TablePress script is throwing a blocking error:

    
    Uncaught TypeError: Cannot set property '_DT_CellIndex' of undefined
    

    You can see it if you open your browser developer toolbar (with F12 usually) in the Console tab.

    This error in turn blocks all subsequent script execution, among which FancyBox is suffering.

    First step: disable the script minification and/or concatenation to see if the error disappears then. If that does not help, you can go to your Settings > Media admin page and find the section “Plugin/theme compatibilty” where you can tweak settings to move the FancyBox script up to before the error (try Priority: 1) or move the script completely to the header (which is not good for page speed but it might be the only way around the error). Or you could ask the TablePress people where the error is coming from 🙂

    Thanks a lot for your help! I managed to fix the error.

    For those who encounter this error, you just need to uncheck the javascripts feature of tablepress

    • This reply was modified 3 weeks, 5 days ago by  thunderphong.

    Hi,

    great! Good to hear that everything is working again!

    Best wishes,
    Tobias

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