Support » Plugin: jQuery Archive List Widget » Object has no method 'on'

  • Resolved johnbhartley


    Couldn’t get 2.0 to work so I switched back to 1.4.2, but was getting the Object has no method ‘on’ referring to line 15 in jal.js.

    Thoughts on why that would be happening? I switched from
    on('click', function(e)
    click( function(e)
    and that fixed it. Again, more of a question of is something else wrong with my site that it would prevent the ‘on’ method? Any insights are appreciated.

Viewing 1 replies (of 1 total)
  • Plugin Author Miguel Useche


    This is one of the FAQ, the problems is that your template or another plugin is removing the official WordPress’ jQuery and adding an old one. I’ve coded with on function because it’s the correct way to do it since 1.7 and it guarantees compatibility for future updates.

    The solution is to check (by deactivating) which plugin causes this, usually is EasyFancyBox. And contacting the developer or modifyng the plugin to use wordpress’ jquery

Viewing 1 replies (of 1 total)
  • The topic ‘Object has no method 'on'’ is closed to new replies.