Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Slider angular is not defined
- This topic has 5 replies, 2 voices, and was last updated 4 years, 5 months ago by Stacy Lind.
- December 27, 2018 at 3:52 pm #755466Neil SmithParticipant
Slider doesn’t show up on the frontend I get the console error: ‘Uncaught ReferenceError: angular is not defined at motoslider.js?ver=2.1.0:1’. Received the same error from both lite and pro versions and I get the error regardless of usage: shortcode in post content or call to motoPressSlider() in html.
December 27, 2018 at 4:36 pm #755479Stacy LindKeymaster
- This topic was modified 4 years, 5 months ago by Neil Smith.
You can check if there is any conflict with a third-party plugin by disabling all the plugins, except for MotoPress Slider. If it works, enable the other plugins one by one to find the one causing conflict. Also switching to a standard WordPress theme may help. If you want us to have a look at the issue, please, submit a ticket here.December 27, 2018 at 4:53 pm #755547Neil SmithParticipant
It was the theme. Changing to Twenty Nineteen showed the slider via shortcode in a post’s content. The theme that’s not working is a simple, barebones theme – any reason you know of that would cause the theme to have issues?December 27, 2018 at 4:59 pm #755551Stacy LindKeymaster
JQuery might be outdated within the theme. If it is not the case, we could have a closer look if you submit a ticket attaching the themeDecember 27, 2018 at 7:30 pm #755588Neil SmithParticipant
Hindsight is 20/20… I was deregistering jquery because I was only using it within a webpack bundle. Exposing jquery to the window object works just fine. Thanks!December 28, 2018 at 10:55 am #755764Stacy LindKeymaster
Glad that it works now!
- You must be logged in to reply to this topic.