Jump to content
Search Community

Silent Error

BennyTuner test
Moderator Tag

Recommended Posts

Hi, I get this error in the console - everything works though so not really bothered

 

Uncaught TypeError: Cannot read property 'ownerDocument' of null
    at n (Flip.min.js:10)
    at Function.register (Flip.min.js:10)
    at _createPlugin (gsap.min.js:10)
    at gsap.min.js:10
    at Array.forEach (<anonymous>)
    at Object.registerPlugin (gsap.min.js:10)
    at Flip.min.js:10
    at Flip.min.js:10
    at Flip.min.js:10

Link to comment
Share on other sites

Hi,

 

Can you extend a  little bit about this, with just that information, personally I have no idea what could be the issue. I found something in the matrix helper in the source code but beyond that there is nothing I can think about.

 

Please provide a bit more information (which other frameworks you're using, perhaps this could be a SSR issue) about the stack you're using in your development and if possible a reduced live sample in Codepen or Codesandbox.

 

Happy Tweening!!!

  • Like 3
Link to comment
Share on other sites

Yeah, sorry, what I meant was you're loading Flip above <body> and when it senses that GSAP has loaded, it will automatically try to run gsap.registerPlugin() on itself (as a convenience). That's the point at which it's trying to look for <body> and it doesn't exist. :) 

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...