简体   繁体   English

在Wordpress网站上未捕获到带有插件的JQuery TypeError(网站已发布)

[英]Uncaught JQuery TypeError with Plugin on Wordpress Site (site in post)

Working on a side-project here: http://beta.bookvideoclub.com/ I'm using the UserPro plugin, and there are multiple JQuery errors that popup. 在此处进行辅助项目的工作: http ://beta.bookvideoclub.com/我正在使用UserPro插件,并且弹出多个JQuery错误。

Uncaught TypeError: jQuery(...).smartresize is not a function 未捕获的TypeError:jQuery(...)。smartresize不是一个函数

Uncaught TypeError: jQuery(...).chosen is not a function 未捕获的TypeError:jQuery(...)。chosen不是函数

If you click the Login button on the top right, multiple Jquery errors appear in the Register process. 如果单击右上角的“登录”按钮,则“注册”过程中会出现多个Jquery错误。 Additionally the checkbox does not work at the very bottom. 此外,该复选框在最底部无法使用。

Thanks in advance if you know and can assist in coming up with the solution to this puzzle. 在此先感谢您是否知道,并且可以帮助您解决此难题。

The issue is that you use at least 2 jQuery libraries on the page. 问题是您在页面上至少使用2个jQuery库。 Check this screenshots: http://i.imgur.com/git6cfd.png 检查以下屏幕截图: http : //i.imgur.com/git6cfd.png

smartresize was added to 1.11.2, but you use it in 1.10.2 smartresize已添加到1.11.2,但是您在1.10.2中使用了它

Here: http://i.imgur.com/sLZdh8O.png It is a list of added scripts on the page. 此处: http : //i.imgur.com/sLZdh8O.png这是页面上添加的脚本的列表。 You add 1.11, then execute JS with your method and after that jQuery is rewrited by 1.10 您添加1.11,然后使用您的方法执行JS,然后jQuery被1.10重写

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM