Jump to content


Missing plugin error

Go to solution Solved by KeviinCosmos,

Recommended Posts

I've installed GSAP to my WordPress site and from what I can see everything is in the correct order, so I have no idea why the ScrollTrigger plugin won't work.

I'm trying to use the example from codepen on my page.


Here's my setup

1. Error code in dev tools:


2. Scripts in Scripts Organizer:


3. My code in Scripts Organizer: 


4. Order of output in browser:

Thanks in advance

See the Pen GRWobyX?editors=1010 by GreenSock (@GreenSock) on CodePen

Link to comment
Share on other sites

Hm, the minimal demo seems to be working fine. Unfortunately screen shots of code aren't adequate. We can't see any of the context or poke around. Please provide a link to where we can see the error happening in our own browser. 


That error definitely means that ScrollTrigger wasn't loaded or registered at the time your code executed. 

Link to comment
Share on other sites

What do you need?`I can't see more if I share the url. I've inspected the site and you can see my code is shown in the footer before the custom code/call.
Can I share the url privately, so it won't get spammed?

Link to comment
Share on other sites

  • Solution

I did found out my self.
scrollTrigger was an old version, even though I picked the newest from cdnjs.. It was version1.x.x..


Where do I find the newest CDN urls?

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.