我有一个wordpress网站,其中有视觉作曲家设置的手风琴,但在前端手风琴无法正常工作,并在控制台中显示了此错误:
Uncaught Error: Syntax error, unrecognized expression: #
at Function.fa.error (jquery.js?ver=1.12.4:2)
at fa.tokenize (jquery.js?ver=1.12.4:2)
at Function.fa (jquery.js?ver=1.12.4:2)
at Function.a.find (jquery-migrate.min.js?ver=1.4.1:2)
at a.fn.init.find (jquery.js?ver=1.12.4:2)
at a.fn.init.a.fn.find (jquery-migrate.min.js?ver=1.4.1:2)
at getTarget (vc-accordion.min.js?ver=5.5.5:1)
at Accordion.getTarget (vc-accordion.min.js?ver=5.5.5:1)
at HTMLAnchorElement.<anonymous> (vc-accordion.min.js?ver=5.5.5:1)
at jquery.js?ver=1.12.4:2
我无法找到问题的原因。 我尝试了切换主题,停用了所有插件,但问题未解决。 锚的结构如下所示:我单击以打开或关闭选项卡:
<a href="#1541001372509-febe2837-9c0b" data-vc-accordion="" data-vc-container=".vc_tta-container"><span class="vc_tta-title-text">Oct 30, 2018</span><i class="vc_tta-controls-icon vc_tta-controls-icon-triangle"></i></a>
请建议我该怎么做才能找出问题所在,非常感谢!