Problem with JS

  • Posted in : Read WP
  • mutogen
    Participant

    Hi, i’ve got problem
    In Chrome console i see this

    Uncaught TypeError: Cannot set property ‘mobile’ of undefined detectmobilebrowser.js:7
    Uncaught TypeError: Cannot read property ‘msie’ of undefined jquery.uniform.min.js:12
    Uncaught TypeError: Cannot read property ‘msie’ of undefined jquery.fancybox-1.3.4.pack.js:18
    Uncaught TypeError: Object [object Object] has no method ‘uniform’ main.js:137

    What’s wrong with it?

    ahmetsali
    Keymaster

    Hi, can you provide a url to see what’s wrong?

    mutogen
    Participant

    Hi!
    Thanks for reply.
    Actually, i solved this problem.
    The thing is Uniform plugin works wrong with jquery 1.9. I switched to 1.8 and now theme is working fine

    Mehmet S.
    Keymaster

    Which way did you prefer to include jquery v1.9 in WordPress?

    mutogen
    Participant

    I was surprised, but there wasn’t any jquery including at all.
    So i’ve added it to the head section.

    Mehmet S.
    Keymaster

    WordPress includes built-in jquery. So don’t add any external jquery. This may cause a conflict.

    mutogen
    Participant

    Yes, i know, but right after theme installation i have no jquery there.
    May be it’s about WP upgrade (i’ve done an upgrade to the 3.5.1 from very old one)

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register