WordPress.org

Forums

Smart Slider 2
[resolved] JS : njQuery is not defined (11 posts)

  1. dorians
    Member
    Posted 1 year ago #

    Hi.

    I have this error in my javascript debuger :

    ReferenceError: njQuery is not defined

    njQuery(document).ready(function () {

    <script type="text/javascript">
    njQuery(document).ready(function () {
    ...

    Is it normal ?

    Thanks

    https://wordpress.org/plugins/smart-slider-2/

  2. nextendweb
    Member
    Plugin Author

    Posted 1 year ago #

    Hi!

    Is it happen on the backend or on the frontend?

    Do you have wp_head(); and wp_footer(); in your theme?

  3. dorians
    Member
    Posted 1 year ago #

    Hi !

    Thanks for quick answer !

    It happen on the front-end.
    I have get_header(); and get_footer();

  4. nextendweb
    Member
    Plugin Author

    Posted 1 year ago #

    Okay, that loads header.php and footer.php.

    Please open header.php and check the wp_head(); function call and also footer.php and check for wp_footer();

    If both exists, please contact me on roland[@@@]nextendweb.com and I will figure out what could be the problem.

  5. livewire1407
    Member
    Posted 1 year ago #

    I am having the same issue. I just installed smart slider, and had some permissions issues in the /wp-content/cache folder that I resolved, and then I got this.

    Uncaught ReferenceError: njQuery is not defined admin.php?page=nextend-smart-slider2&controller=sliders&view=sliders_slider&action=dashboard&slider…:295
    Uncaught ReferenceError: njQuery is not defined admin.php?page=nextend-smart-slider2&controller=sliders&view=sliders_slider&action=dashboard&slider…:425

  6. nextendweb
    Member
    Plugin Author

    Posted 1 year ago #

    Please contact me on roland[@@@]nextendweb.com and I will figure out what could be the problem.

  7. nextendweb
    Member
    Plugin Author

    Posted 1 year ago #

    Someone contacted with me on this case with the same javascript error. He has a custom page template file in the theme folder and that template file doesn't contain wp_footer(); function call.

    Maybe you are using custom page/post templates too and those are missing this function call. Please check it!

  8. Kilianos
    Member
    Posted 1 year ago #

    Hello, i have the same issue with JS. njQuery is not defined

    I checked my header and footer, got the wp_head(); and wp_footer(); in them.

    In my page.php I can see get_header(); and get_footer(); so whats wrong?

  9. nextendweb
    Member
    Plugin Author

    Posted 1 year ago #

    Hi!

    Please contact with me on my email directly to check your case: roland[@@@]nextendweb.com

  10. Qobo Ltd
    Member
    Posted 4 months ago #

    Hey,

    It seems i have this weird problem too. Can you help me?

  11. nextendweb_gabor
    Member
    Plugin Author

    Posted 4 months ago #

    Hi! Please send me a link to your website, so I could see what is going on!

    If there are more javascript errors, that could make our code stop, and you could see these error messages because of that.

    The other problem could be, if your website ends before the </body></html>, so you could check your website's source, if it does, or if it has some html coding errors, like the </head> is missing, or something like that.
    If you check it with firefox, it will mark these parts red, but you could check it in here: http://validator.w3.org/

    Most things won't be related, but the problem will be there.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Smart Slider 2
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.