Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WordPress: Uncaught TypeError: can't access property "noop", $ is undefined #19

Closed
herbie4 opened this issue May 6, 2021 · 2 comments
Closed

Comments

@herbie4
Copy link

herbie4 commented May 6, 2021

Hi,
I am trying to get this working inside WordPress but keep getting this error:

Uncaught TypeError: can't access property "noop", $ is undefined and also

Uncaught TypeError: $(...).steps is not a function

The dist/jquery-steps.js is loading as depending on jQuery but still get this error. WordPress is running jQuery 3.5.1.
I already tried setting up de init script as below, but still getting the error. Do you have any advice?

<script> jQuery( document ).ready(function($) { $('#demo').steps({ onFinish: function () { alert('complete'); } }); }); </script>

@herbie4
Copy link
Author

herbie4 commented May 10, 2021

UPDATE: I tried switching to jQuery version 1.12.4 and then it is working. Do you have a solution to make it work with the latest jQuery version?

@oguzhanoya
Copy link
Owner

Hi,

The plugin works fine with jQuery 3.5.1 and the latest version. you can look at the examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants